So by virtue of the 2 windings is how the isolation occurs? They are not connected and electro magnetics is how electricity is induced in the second winding?
Yes. I'd just add that most transformers are wound around a steel core that aids the transfer of magnetic energy from one coil to the other.