Jinn, also Romanized as djinn or Anglicized as genies
(with the more broad meaning of spirits or demons, depending on source),are supernatural creatures in early pre-Islamic Arabian and later Islamic mythology and theology. Since jinn are neither innately evil nor innately good, Islam was able to adapt spirits from other religions during its expansion.
Besides the jinn, Islam acknowledges the existence of demons (Shayāṭīn). The lines between demons and jinn are often blurred, since malevolent jinn are also called shayāṭīn in some sources. However both Islam and non-Islamic scholarship generally distinguishes between angels, jinn and demons (shayāṭīn) as three different types of spiritual entities in Islamic traditions. Conflation of jinn with demons can only apply to the demonic jinn known from Islamic folk-lore, not about the Quranic- or theological jinn, who do not turn into demons themselves. The jinn are distinguished from demons in that they can be both evil and good, while genuine demons are exclusively evil. Some academic scholars assert that demons are related to monotheistic traditions and jinn to polytheistic traditions.
In an Islamic context, the term jinn is used for both a collective designation for any supernatural creature and also to refer to a specific type of supernatural creature.