Do caterpillars go to the bathroom?

Yes, anything that is an animal has to go to the toilet, but they don't go to the bathroom to do it, they just dump their waste wherever they please.