There are five different types of Djinn. The least powerful is the Jann, next come the Djinn, and then the Sheytans, or devils. The Afrits, sometimes called Efreets are very powerful, but the Marids are the most powerful and dangerous of all. Djinn are generally believed responsible for illness and mishaps. Magicians have trapped Djinn in various ways. One way was imprisoning them in an old brass lamp. When someone rubs the lamp three times, the Djinni inside will appear, grant three wishes, and obey the one who set it free. Traditionally, it is said that the great and wise King Solomon shut misbehaving Djinn in lead-stoppered bottles and threw them into the sea.
The most well known Djinn in pop culture has to be from the "Wishmaster" movies. :D