AMD Interview Question

How does a transformer work in detail?