Transformer

Two coupled coils that step voltage up or down — and isolate one side from the other.