You can read about smoke detectors in more detail in How smoke detectors Work, but the first one to hit the consumer market is called the ionizationsmokedetector.
Model S250 ionizationsmokedetector is a dual chamber ionization type detector designed to respond to the first RACES of a fire by sensing both visible smoke and invisible products of combustion.