Question: which device is used to convert ac to dc?
Answer: Rectifier; Switched-mode power supply