Why do public transit buses have to stop at railroad crossings?

I could never understand why the public buses have to stop at railroad crossings
6 answers 6