Optical sensors are devices that convert light rays into electronic signals. These sensors are pivotal in various applications, including environmental monitoring, medical diagnostics, and industrial automation. In the realm of Nanotechnology, optical sensors are enhanced with nano-sized materials to improve their sensitivity, selectivity, and overall performance.