Cyient Interview Question

What is Diode transitor it's uses