Filament based bulbs produce light through continuous heating of the filament present inside them. Due to this, a significant amount of energy is wasted in the form of heat.
Whereas in the CFL (Compact Fluorescent Lamp), the wastage of energy in the form of heat is very less.
That’s why CFL is considered better than filament-based bulbs.