Goms Electricals interview question

What does a Tranformer do?