Electric fireplaces work by using a source of light to create the look of flickering flames on the front of the unit.
We’ve explained in more detail how an electric fireplace works here, but essentially the majority of electric fireplaces use a light source and set of rotating mirrors to reflect light onto the front screen of the fireplace in a specific pattern that resembles the look of flickering flames.