A woman is petting a dog outside.
A person and an animal are interacting out of doors.
Being outside means they are out of doors.
A woman is a person and petting a dog is the same as a person and animal interacting.
A woman is a person and a dog is an animal.