Photonics is the science and technology of generating, manipulating, and detecting photons. It has a broad…