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 are largely philosophical works, some in dialogue form. They are the foundation of Hindu philosophical thought and its diverse traditions. Of the Vedic corpus, they alone are widely known, and the central ideas of the Upanishads are at the spiritual core of Hindus. The four Vedas were transmitted in various s (branches, schools). Each school likely represented an ancient community of a particular area, or kingdom. Each school followed its own canon. Multiple recensions are known for each of the Vedas. Thus, states Witzel as well as Renou, in the 2nd millennium BCE, there was likely no canon of one