For as long as people have recorded their history, they have told stories. In the days when people did not know nearly as much about the world as they do now, they made up myths or legends to explain events. The fairy tale was born from those stories.
Children and adults alike love a good fairy tale. In the typical fairy tale, good wins over evil, the bad are punished, and the good prosper. The hero and heroine must go through trials to prevail, and magic and magical creatures usually appear, but in the end, the protagonist is victorious. Magic is generally the tool that saves the day.