What is photodiode?

Photodiode is a two-terminal semiconductor p-n junction diode device and is designed to operate with reverse bias.

How the current is reduced to zero in a photodiode?

The reverse saturation current I0 flowing through a photodiode is reduced to zero by applying a forward bias voltage of magnitude eual to barrier potential.