An inductor makes a high voltage across itself when current flowing in it is stopped, because the collapsing magnetic field cuts across the windings.
So the transistor creates a high current in the inductor, then stops the current which makes a high voltage that is collected by the rectifier and...