Photodiode is a photovoltaic device or a photoconductive device or both?

Photodiode is a photovoltaic device as well as a photoconductive device. When it is operated with a reverse bias, it is photoconductive device and when operated without the reverse bias, it is a photovoltaic device.