Pergunta de entrevista da empresa Mohit Sharma

What is diode and explain their workings