Gas fireplaces work by burning natural gas or propane fuel in a combustion chamber. The flames produced by the burning gas are directed through logs, glass, or other media that give the appearance of a traditional wood-burning fire. Heat is then radiated into the room by the fireplace.