On a more mundane level, dogs may just sniff the feces to determine what another canine has recently eaten, telling them that ingestible goodies may be close at hand. Once they've garnered all the information that they need from urine or feces, most dogs return the favor by leaving their own deposits.