A cloaca is a multipurpose hole that lots of animals have. Rather than having separate holes for peeing, pooping and reproduction, a cloaca is a hole that does all of the above. They're the norm in birds, reptiles, and amphibians. Almost no mammals have them, we go with a selection of specialised holes instead.