Humans & Animals excrete and defecate to get rid of waste materials from their bodies in order to keep them to stay healthy.
When defecate, the bodies get rid of undigested food or waste materials called faeces. Some animals waste can be used as fertilizers. Human excrete urine and sweat while Animals (e.g dog) excrete urine and Sliva.