Public toilets, bins

I have a question that has troubled my minds for a long time. I hope the public can help me with the answer.