Why using capacitor in transformer less ac to dc converter
Resisters waste lots of power .Capacitors and inducters waste much less power .At 50Hz the inducter would be expensive,Bulky and heavy .Hence the capacitor .