Bro it (ir sensor ) will detect everything not just fire each every thing ,until and unless it is not of black color . So it is not a fire alarm it is a object sensor
bro this is not a fire alarm. this is an IR detector. I know fire emits IR, but just hit a button on a TV remote while pointing it at this. see what happens