Overview and Scope An optical sensor is a device that converts light or changes into electronic signals, serving various purposes,…