A woman sits in a market where she sells goods with her dog.
A dog sells a woman a hat.
The woman from the first sentence is the one who sells good, and in the second sentence it is the dog who sells hats.
If a woman is selling goods with a dog at her side, it cannot be claimed that the dog is selling something.
A woman is not a dog.