What is the primary function of a transformer?

Explanation:

The primary function of a transformer is to step up or step down the voltage in AC electrical circuits, making it easier for transmission and distribution.