What is the purpose of this diode?

Top