When a bulb is connected to a battery, the internal chemical energy of the battery is converted into the electrical energy. This electrical energy produces current and the current passes through the filament and the filament heats up. When the filament is too hot, it produces light. Thus, the energy conversions occur in torch.