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 towards the end of the vedic period, around or after the middle of the 1st millennium BCE. These auxiliary fields of Vedic studies emerged because the language of the Vedas, composed centuries earlier, became too archaic to the people of that time. The Vedangas were sciences that focused on helping understand and interpret the Vedas that had been composed many centuries earlier. The six subjects of Vedanga are phonetics (), poetic meter (), grammar (), etymology and linguistics (Nirukta), rituals and rites of passage (), time keeping and astronomy (). Vedangas developed as ancillary studies for the Vedas, but its