Why Capacitor and Inductor are used in Filtering Circuit

Purpose of Chokes in Tube Light
Capacitor Output Wave form