Firstly, heat insulation. It helps to break the airflow convection across the cold glass, especially if the radiator is incorrectly positioned on the wall opposite the window.
Secondly, security. Having curtains makes it less easy for a potential intruder to determine if there is anyone at...