Goms Electricals Interview Question

What does a Tranformer do?