In the sixteenth century, the first nightgowns appeared as loose-fitting, full-length unisex garments for warmth in bed.
In the eighteenth century the negligee became a lounging garment for women while, the nightshirt with loose-fitting pants called pyjamas replaced the long gown for men.
Pyjamas were modeled after harem pants and were imported from Iran, using the Persian words “pae” for leg garment and “jama” for clothing.