Sometimes the gods condemn these interactions but at other times they occur with their blessing. Hindu mythology contains numerous incidents where sexual interactions serve a non-sexual, sacred purpose in some cases, these are same-sex interactions. Non-divine beings also undergo sex-changes through the actions of the gods, as the result of curses or blessings, or as the natural outcome of reincarnation. Gods change sex or manifest as an avatar of the opposite sex in order to facilitate sexual congress. Hindu mythology has many examples of deities changing gender, manifesting as different genders at different times, or combining to form androgynous or hermaphroditic beings. Traditional Hindu literary sources do not speak of homosexuality directly, but changes of sex, homoerotic encounters, and intersex or third gender characters are often found both in traditional religious narratives such as the Vedas, Mahabharata, Ramayana and Puranas as well as in regional folklore. LGBT themes in Hindu mythology involve Hindu deities or heroes whose attributes or behavior can be interpreted as lesbian, gay, bisexual, transgender, or as having elements of gender variance and non-heterosexual sexuality.