This article needs additional citations for verification. (January 2018)
Ukiyo (浮世, "floating/fleeting/transient world") is the Japanese term used to describe the urban lifestyle and culture, especially the pleasure-seeking aspects, of Edo period Japan (1600–1867). Ukiyo culture developed in Yoshiwara, the licensed red-light district of Edo (modern-day Tokyo), the site of many brothels frequented by Japan's growing middle class. A prominent author of the ukiyo genre was Ihara Saikaku, who wrote The Life of an Amorous Woman. Ukiyo culture also arose in other cities, such as Osaka and Kyoto.
The famous Japanese woodblock prints known as ukiyo-e, or "pictures of the floating world", had their origins in these districts, and often depicted scenes of the floating world itself such as geisha, kabuki actors, sumo wrestlers, samurai, merchants, and prostitutes.
The term "ukiyo", when written as meaning "the floating world", is also an ironic, homophonous allusion to the earlier Buddhist term ukiyo (憂き世, "sorrowful world"), referring to the earthly plane of death and rebirth from which Buddhists sought release. 
In its modern usage, the term ukiyo is used to refer to a state of mind emphasising living in the moment, detached from the difficulties of life.