Dogs sniff the air when they smell something out of place; it could be an unfamiliar person or prey.