In a bulb, electrical energy is converted into:
both heat and light energy
When electric current flows through the filament made up of tungsten, it heats up emitting visible light. Hence, in a bulb, electrical energy is converted into both heat and light energy.