An ideal transformer (with sufficiently large inductance and sufficiently low resistance) can pass DC, but real transformers are not ideal and only work with AC. This transformer passes DC at first, but after a short time, the DC voltage fades due to resistance in the primary and the finite inductance of the transformer coils.
Next: Inductive Kickback
Previous: Long Distance Power Transmission