Optical smoke detector works in most settings but may cause major inconveniences in a kitchen setting where a heat alarm is the best fit! There are also specialist systems, for example in large open spaces like an atrium, an optical beam system may be used.