Trimūrti (; Sanskrit: त्रिमूर्ति , three forms) is the triple deity of supreme divinity in Hinduism in which the cosmic functions of creation, maintenance, and destruction are personified as a triad of deities, typically Brahma the creator, Vishnu the preserver, and Shiva the destroyer, though individual denominations may vary from that particular line-up. The legendary yogi Dattatreya is often treated as not only one of the 24 avatars of Vishnu, but also of Shiva and Brahma as well in a single three-headed body.