A gas fireplace coming with a millivolt ignition system has a piezo ignitor. This ignitor is connected to a button. When you switch on the fireplace, the button generates a spark getting depressed and thus lights the fireplace.