I think some folks use the Baofeng (as a scanner) for railfan activities. I use a Uniden Bearcat BC125AT, which is much more pricey, to occasionally scan the railroad frequencies. It can take a bit to set up, but there are Youtube videos on how to do it for a BC125AT (not sure about the Baofeng, since I don't have one). I have a defect detector maybe 1/3 mile from my house, as the crow flies, and listen into it on occasion, as well as one of the yards (not sure where). The defect detectors are very interesting. They are the small aluminum sheds you see oftentimes near RR crossings. They have sensors under the tracks, and after a train passes they broadcast a synthesized voice report on any number of things: Total number of axles (how long the train was), any defects (hot wheels along with the axle number (location), dragging equipment, "no defects", etc.). The most interesting one I've gotten a time or two has been "train too slow" (presumably too slow to climb the grade by my house). They broadcast their findings mainly for the benefit of the crew of the train (to take action if necessary).
(All the local police and emergency services traffic seems to be encrypted in my area now).