According to the Hindu Holy books, God Brahma arranged the marriage of god Shiva to goddess Parvathi.
When they went around the fire as per Hindu religious ritual, god Shiva looked at the thighs of goddess parvathi and ejac*lated his sem*n into the fire and they became Rishis (priests).
According to the Hindu Puranas this "god" can do such a filthy act!