What is difference between asterisk.ael and asterisk.conf

hi,
I have read ael.txt and extensions.conf in doc/ asterisk source .but I am wondering what’s the difference beteween the asterisk.ael and asterisk.conf?
When should I use the astereisk.ael script? BTW,what is the better way to read the asterisk code.Thanks.