How did people use the bathroom before toilets were invented?

This question is not intended to be a joke or bathroom humor.
10 answers 10