Human and animal waste can replace many fertilizers if managed better and used closer to farms, improving farming systems.