Homosexuality and religion supported them. Ancient religious texts such as the Vedas often refer to people of a third gender known as hijra, who are neither female nor male. Some see this third gender as an ancient parallel to modern western lesbian, gay, bisexual, transgender and intersex identities. Hinduism has taken various positions, ranging from positive to neutral or antagonistic. Referring to the nature of Samsara, the Rigveda, one of the four canonical sacred texts of Hinduism says 'Vikruti Evam Prakriti' (perversity/diversity is what nature is all about, or, what seems unnatural is also natural). A "third gender" has been acknowledged within Hinduism
Vedas preserved since ancient times. In the Hindu Epic the Mahabharata, the creation of Vedas is credited to Brahma. The Vedic hymns themselves assert that they were skillfully created by "Rishis" (sages), after inspired creativity, just as a carpenter builds a chariot. According to tradition, "Vyasa" is the compiler of the Vedas, who arranged the four kinds of "mantras" into four "Samhitas". There are four Vedas: the Rigveda, the Yajurveda, the Samaveda and the Atharvaveda. Each Veda has been subclassified into four major text types – the Samhitas (mantras and benedictions), the Aranyakas (text on rituals, ceremonies, sacrifices and symbolic-sacrifices), the