Dogs can differentiate between humans and dogs. They have a strong sense of smell and various social cues that help them identify different species. However, they may still develop strong emotional connections with their human caregivers and consider them part of their "pack."