The Base voltage of this transistor is being held constant by two diodes in series, despite the fluctuating voltage source. Thus the transistor, in common-emmiter mode provides a relatively constant current flow.
The result is illustrated by the two lamps.