There are a large number of applications of photo- diodes. However, we shall give two applications of photo-diodes by way…