About Vinayagar/Ganesha in Wikipedia
Ganesha (/ɡəˈneɪʃə/; Sanskrit: गणेश, Gaṇeśa; About this sound listen (help·info)), also known as Ganapati, Vinayaka, Pillaiyar and Binayak, is one of the best-known and most worshipped deities in the Hindu pantheon. His image is found throughout India, Sri Lanka, Thailand, and Nepal. Hindu denominations worship him regardless of affiliations. Devotion to Ganesha is widely diffused and extends to Jains and Buddhists.
Although he is known by many attributes, Ganesha's elephant head makes him easy to identify. Ganesha is widely revered as the remover of obstacles, the patron of arts and sciences and the deva of intellect and wisdom. As the god of beginnings, he is honoured at the start of rites and ceremonies. Ganesha is also invoked as patron of letters and learning during writing sessions. Several texts relate mythological anecdotes associated with his birth and exploits and explain his distinct iconography.
Ganesha likely emerged as a deity as early as the 2nd century AD, but most certainly by the 4th and 5th centuries AD, during the Gupta period, although he inherited traits from Vedic and pre-Vedic precursors. Hindu mythology identifies him as the restored son of Parvati and Shiva of the Shaivism tradition, but he is a pan-Hindu god found in its various traditions. In the Ganapatya tradition of Hinduism, Ganesha is the supreme deity. The principal texts on Ganesha include the Ganesha Purana, the Mudgala Purana, and the Ganapati Atharvashirsa. Brahma Purana and Brahmanda Purana are other two Puranic genre encyclopedic texts that deal with Ganesha.