There is a fine line between fantasy and what would be traditionally considered a fairy tale, the latter is generally aimed at children and encompasses some form of moral guidance or lesson but really when you think about it the same elements are present in most fantasy.
Like all stories they take you on a journey but in many cases this is far more literal in fantasy, where many stories include a quest or characters taking long journeys across treacherous terrains. The main themes behind both are that no matter what the struggle good will overcome evil and that there are consequences for those who fail to follow moral guidelines. Even the characters that inhabit the two genres are the same though generally in the fairy tale they may wear a little more clothing and not be quite as seductive.
I guess in many ways fantasy is fairy tales for grown ups, a place of good and evil, darkness and light, magic and mystery, an escape from reality where lessons are taught and learnt with swords and sorcery.