Tantra is Hinduism’s rebellious branch. Only later was it appropriated by other Eastern religions, and is usually presented in this updated way to the West.
Despite the societal and religious messages that equate sexuality with profanity, sexual energy is sacred. It is the energy that creates and sustains life.
In The Gospel of Philip, the divine force between two people is explored through a sexual union as it is in Tantra, and not just by a platonic connection.