By taking in these odors, dogs can learn whether they have met someone before, where that person has recently been, and even whether they are feeling stressed, excited, or nervous.
This remarkable ability explains why dogs often greet people by sniffing rather than looking directly at them. Scent provides far more detailed information than visual appearance alone.