Fact 1: Playing is just one of many ways that mammals and other animals learn how to behave. 
Fact 2: Cats are Mammals that Shed Dogs are Mammals that Wag their tails.
Playing is just one of many ways that dogs learn to behave.