Active Electronic Component What is a Diode? A Complete Guide to Its Types, Functions, and Applications