Whats this for?

Hi. I always asked myself what this part of the Trains is for. Is it for the emergency breaks. Or just for the case it snows a lot?

Hi. I always asked myself what this part of the Trains is for. Is it for the emergency breaks. Or just for the case it snows a lot?