Transformers work on the principle of electromagnetic induction, which requires a changing magnetic field. This is why transformers only function with alternating current (AC), allowing voltage to be stepped up or down. DC voltage cannot be transformed directly - it requires electronic converters.