Amazon Interview Question

How does a Transformer work