A resistor is a mechanism which controls the way through which the electric current flows in a circuit and they have various uses, but the major use is to protect the electrical appliance from voltage surges to prevent them from "cooking"
With this in mind, there are many types of a resistor which includes:
An AC circuit is a type of voltage or current where the DMV works in reverse direction and is used to power appliances.
Please note that your question is incomplete so I gave you a general overview of what a resistor is and its functions in an AC source.
Read more here:
https://brainly.com/question/20693750