Wombats, animals that dig burrows in Australia, make cube-shaped poop. The corners form inside the intestine, the tube that carries waste through the body.
Researchers found that some parts of its wall are stiffer than others. When the tube squeezes, the stiffer and softer parts stretch differently. That uneven movement helps form flat sides and corners before the poop leaves the animal.