In combustion, substance reacts with oxygen to produce heat and light.
Sun also produces heat and light, but there is no oxygen in space. So, sun cannot undergo combustion to produce heat and light.
It produces heat and light due to nuclear reactions