Brahma, the Supreme Absolute, separated into male and female, and such creates and sustains the universe. Reality is a duality and an illusion to overcome. The Supreme separated into two parts in the event called Viraj in the Sanskrit language, and interestingly, viraj is similar sounding to the English word mirage, meaning something that appears real but is likely not.
Here is a verse from the Supreme Being for Being.