A man in a grassy field throws a stick for a group of three brown dogs.
A man is playing with dogs.
A man throws a stick for the dogs, that is how the man can play with the dogs.
If a man throws a stick for a group of dogs then he can also be described as simply playing with dogs.
The man is throws the stick, so he must be playing with the dogs.