Key takeaway. Dogs sniff people's crotches because of the sweat glands, also known as apocrine glands, that are located there. Sniffing these glands gives a dog information about a person such as their age, sex, mood, and mating probability.