Pan was a god of shepherds and flocks. He originated in Arcadia, from where his cult spread throughout Greece and later outside the Greek world. According to different variants he was the son of Hermes, Zeus, Uranus, Cronus, etc. As his possible mother a lot of mortal women, nymphs, and goddesses are named.
Pan was depicted as half-man, half-animal with reed pipe, which he could play skillfully. He was known for his sexual energy and he chased girls and boys with equal enthusiasm. He loved the nymph Echo and the goddess Selene.
See: Jacob Jordaens. Pan and Syrinx.
Nicolas Poussin Nymph Syrinx Pursued by Pan.
Mikhail Vrubel. Pan.