Enercon Services interview question

How does a transformer work?