(b) It is used to convert $ac$ into $dc$ (rectifier)
Physics Educator & NEET/JEE Specialist
Ph.D. in Physics with 19+ years of teaching experience.