When dogs bark, they are communicating. They might be communicating with their owners, with a stranger, or with another dog. Sophia Yin's experiment showed that dogs have different barks for different situations. In each situation, the dog is trying to communicate something different.