The term pajama is derived from the Hindi pyjma, which comes from the Persian py, which means leg, and jma, which means garment.