Cyient interview question

What is Diode transitor it's uses