The energy transformation inside a lightbulb is from electrical energy into heat and light.
It consists of passing through an electric current through the material so it can reach an energy peak, as a result, we see the light coming out of the material due to high temperature, which also releases heat.