Ifrit, also spelled as efreet, afrit, and afreet, is a powerful type of demon in Islamic mythology. The afarit are often associated with the underworld and also identified with the spirits of the dead, and have been compared to evil geniī loci in European culture.