Jean-François de Troy, Pan and Syrinx, 1722-1724, oil on canvas, 74.3 x 91.8 cm, J. Paul Getty Museum, Los Angeles
Pan was a minor god of shepherds and would spend time hunting and playing in forests, hiding and scaring people (causing "panic"). He fell in love with the nymph Syrinx and chased her, and just as he caught her on the banks of a river she was transformed into reeds. Struck by the beautiful sound of wind through the reeds, he cut some and created a pan pipe, which he called a Syrinx.
Pan came to be equated with sensual pleasure and often featured in erotic scenes.