A genie or jinnee in Arabian stories is a spirit that can adopt various forms and take a mischievous or benign hand in human affairs. The genie generally inhabits a lamp or bottle from which someone can release it by the appropriate words or actions.