or

DC is not used in a transformer because it cannot change the electromotive force of DC because the magnitude of the DC doesn't change. So, AC is used as its magnitude and polarity change.