Pan was the god of the wild, hunting and companion of the nymphs. He was depicted as being half human, while having the legs and horns of a goat, just like a faun; his Roman counterpart was Faunus. It is unclear as to who his parents were; his father may have been Zeus, Dionysus, Hermes, or Apollo. His mother may have been a nymph called Dryope, Penelope who later became the wife of Odysseus, or Aphrodite.
There were no temples attributed to Pan, but he was rather worshipped in natural settings such as caves. It was believed that he often chased nymphs in order to seduce them, but he was always turned down due to his ugly appearance. Moreover, the word 'panic' derives from the name of the goat-like deity. Pan's angry voice was so frightening, that caused panic to anyone who was unlucky to be close enough to hear it.
According to a myth, one day he came across a beautiful nymph called Syrinx. He tried to seduce her, but she managed to run away. Followed by the god, she sought refuge among her sisters, who transformed her into a reed. When the wind started blowing, a melody was produced. Pan, not knowing which reed Syrinx was transformed into, took seven or nine of them and joined them side by side in decreasing length, thus creating his musical instrument that bore the name of the nymph.