Arabic epic literature encompasses epic poetry and epic fantasy in Arabic literature. Virtually all societies have developed folk tales encompassing tales of heroes. Although many of these are legends, many are based on real events and historical figures.