What happens when a cow masturbates?
Beef jerky.
Listen up, buttercup. You see, a cow is a type of cattle that gives milk and is often used for beef. When the cow "masturbates" it is jerking off. So the punchline of "beef jerky" is a play on words. You probably thought beef jerky came from the store.