Why do dogs eat feces-?

Dogs eat feces for various reasons, some of which include; Lack of nutrients in their daily diet, hunger, coprophagia condition, boredom, anxiety, stress, loneliness.