In ancient Greek religion and mythology, Pan (/pæn/; Ancient Greek: Πάν, romanized: Pán) is the god of the wild, shepherds and flocks, nature of mountain wilds, rustic music and impromptus, and companion of the nymphs. He has the hindquarters, legs, and horns of a goat, in the same manner as a faun or satyr. With his homeland in rustic Arcadia, he is also recognized as the god of fields, groves, wooded glens and often affiliated with sex; because of this, Pan is connected to fertility and the season of spring. The word panic ultimately derives from the god's name.
In Roman religion and myth, Pan's counterpart was Faunus, a nature god who was the father of Bona Dea, sometimes identified as Fauna; he was also closely associated with Sylvanus, due to their similar relationships with woodlands. In the 18th and 19th centuries, Pan became a significant figure in the Romantic movement of western Europe and also in the 20th-century Neopagan movement.