Mother dogs will lick their puppies to urge them to eliminate and clean their feces, for about the first three weeks.
Eating their own poop is harmless, but consuming that of other animals may cause health problems if the stool is contaminated with parasites, viruses, or toxins.