The diode is an electronic component, which allows the flow of current in one direction i.e. Forward direction. In mechanical terms, a diode is referred as a check valve.
There are various types of diode, which are mentioned briefly in the below ppt: