Maya is one of the asuras in Hinduism. He is the architect and craftsman of the gods, the builder of illusions.
In the Mahabharata, Maya built the fantastically beautiful palace or assembly hall for the Pandus.
In the Ramayana, he built Pushpaka -- an intelligent flying city, or vimana.
His home is underground in the land of the Nagas or snake gods. Mandodari, his daughter, marries the demon Ravana, the villain of the Ramayana.