A little dog plays with a colorful ball in the sand.
The animal is on the beach.
A little dog is an animal, but an animal is not necessarily a dog also, in the sand could mean in a sandbox, while on the beach specifically implies a large area of sand next to a body of water.
(-x)
(-x)