Which part of the human eye performs the same function as the diaphragm in a…