A DC input will generate a constant magnetic field, no EMF will be induced as there is no change in magnetic flux. An AC input changes direction frequently, this results in a magnetic flux that changes direction frequently, since there is a change in magnetic flux, an EMF is induced.