Why is Public Order Necessary?

Imagine people urinating or defecating any time, any place they want. On your porch or on your car.because the feel like it. Maybe it is necessary.