Intertek interview question

How do a transformer work?