Yes, this is true. To step up/down AC voltages, you only need a transformer, a pair of coiled wire. This is very simple tech.
To step up/down DC. There are ways to do it with solid state electronics. One of the ways I’ve seen is to transform the dc to ac internally, change the voltage, and convert and output DC.