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 inspired later Hindu scholars such as Adi Shankara to classify each Veda into "karma-kanda" (कर्म खण्ड, action/ritual-related sections) and "jnana-kanda" (ज्ञान खण्ड, knowledge/spirituality-related sections). The texts considered "Vedic" in the sense of "corollaries of the Vedas" is less clearly defined, and may include numerous post-Vedic texts such as the later Upanishads and the Sutra literature. Texts not considered to be "shruti" are known as "smriti" (Sanskrit: ""; "the remembered"), or texts of remembered traditions. This indigenous system of categorization was adopted by Max Müller and, while it is subject to some debate, it is still widely used. As Axel Michaels