Cognizant interview question

apti question what is diode