Being a native dutch speaker myself, I'll attempt to give an understandable answer :).
Jolien has already given a good translation and example for the word listening.
The verb "aanhoren" is the more "mysterious" one of the two.
This verb's basic translation is "to hear".
Practically, this verb is being used when people listen, with detail, to whatever they will be listening to.
It also implies whatever they listen to will be listened to from beginning to end without their interruption.
Examples are:
1. "De politie hoorde het verhaal van de getuige aan."
"The police listened to the story of the witness."
2. "John hoorde het geschreeuw rustig aan."
"John calmly listened to the yelling".
p.s. Funny detail:
Listening politely with detail does not mean the listener will then be willing to act in favor of what they listen to.
Occasionally people can use a phrase such as "Ik wil hem best aanhoren, maar dan..." to indicate they will listen from back to end, but that is all.