This steps down mains voltage to something a 7824 regulator can handle. That’s a 24V linear regulator which is fed by a bridge rectifier along with some smoothing capacitors. With the source ...