Ganesha (Sanskrit: गणेश; IAST: Gaṇeśa; listen (help·info)), also spelled Ganesa or Ganesh, also known as Ganapati (Sanskrit: गणपति, IAST: gaṇapati), Vinayaka (Sanskrit: विनायक; IAST: Vināyaka), and Pillaiyar (Tamil: பிள்ளையார்), is one of the deities best-known and most widely worshipped in the Hindu pantheon. His image is found throughout India and Nepal. Hindu sects worship him regardless of affiliations. Devotion to Ganesha is widely diffused and extends to Jains, Buddhists, and beyond India.Although he is known by many other attributes, Ganesha’s elephant head makes him particularly easy to identify. Ganesha is widely revered as the Remover of Obstacles and more generally as Lord of Beginnings and Lord of Obstacles (Vighnesha (Sanskrit: विघ्नेश; IAST: Vighneśa), Vighneshvara (Sanskrit: विघ्नेश्वर; IAST: Vighneśvara)), patron of arts and sciences, and the deva of intellect and wisdom. He is honoured at the beginning of rituals and ceremonies and invoked as Patron of Letters during writing sessions. Several texts relate mythological anecdotes associated with his birth and exploits and explain his distinct iconography.
Ganesha emerged a distinct deity in clearly recognizable form in the 4th and 5th centuries CE, during the Gupta Period, although he inherited traits from Vedic and pre-Vedic precursors. His popularity rose quickly, and he was formally included among the five primary deities of Smartism (a Hindu denomination) in the 9th century. A sect of devotees called the Ganapatya (Sanskrit: गाणपत्य; IAST: gāṇapatya), who identified Ganesha as the supreme deity, arose during this period. The principal scriptures dedicated to Ganesha are the Ganesha Purana, the Mudgala Purana, and the Ganapati Atharvashirsa.