A transformer can be viewed as a converter that can increase voltage and lower current, or vice versa. It only works when using AC.

The transformer is effectively a magnetic circuit. The transformer has two or more coils of wire wrapped about a common core.
transformer coil

The ideal relationship is: