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 Brahmanas (commentaries on rituals, ceremonies and sacrifices), and the Upanishads (texts discussing meditation, philosophy and spiritual knowledge). Some scholars add a fifth category – the Upasanas (worship). The various Indian philosophies and denominations have taken differing positions on the Vedas. Schools of Indian philosophy which cite the Vedas as their scriptural authority are classified as "orthodox" (āstika). Other śramaṇa traditions, such as Lokayata, Carvaka, Ajivika, Buddhism and Jainism, which did not regard the Vedas as authorities, are referred to as "heterodox" or "non-orthodox" (nāstika) schools. Despite their differences, just like the texts of the śramaṇa traditions, the layers of texts