Intel Corporation Interview Question

What is the application of diode?