How do Smoke Alarms Work?

Smoke Alarm detect smoke by Smoke Detectors which contain dielectric which changes it’s resistance due to particles in smoke. Then it triggers alarm and sprays water.