Light waves travels through electromagnetic radiation
when we switch on the lamp, vibrations of electric and magnetic fields will release energy to its surrounding environment. Which the reason why the area around the lamp will feel warmer when we light it up.