This is a basic transformer demo circuit.
The transformer has a turns ratio of 1 so if you simulate the circuit you can see that the voltage on the primary and the voltage on the secondary are the same.
Try changing the number of turns on the transformer and see how it affects the voltage and current.
For a more detailed explanation see this video: https://youtu.be/IxOsCWOqr_A