follow Dictionary.com
The ram is of the same species as the goat, and the god Pan was the goat god, as we know.