Pan was the god of the Wild, hunting (partially), rustic music and folk music. He is known as the son of Hermes Usually known as the son of Dryope and Hermes
Pan once had a musical contest with Apollo. King Midas, one of Pan's followers, judged that Pan was the winner, despite Apollo being the god of music. In anger, Apollo gave Midas the ears of a donkey.
Pan also helped Zeus in the fight against Typhon. While Zeus was imprisoned by Typhon and held in a cave guarded by the female dragon Delphine, Pan started shouting out loud and caused panic in the dragon that ran away giving the god of lightning the chance to escape and to go after the son of Gaea.