A 12-volt transformer typically provides **AC (Alternating Current)**. Transformers are designed to work with alternating current, not direct current (DC). The transformer works by inducing voltage through magnetic fields, and this process only works with AC.
If you're using a 12-volt transformer, youβll get 12V AC output. However, if you need DC, you would need to convert the AC to DC using a rectifier (often with a diode or bridge rectifier) and possibly a filter to smooth the output.