An ideal diode is a simple model of a semiconductor diode used to show how current moves through circuits. A diode has two terminals. The anode is positive, and the cathode is negative. In this model, current can flow only in one direction.
When a positive voltage is applied to the anode relative to the cathode, the diode is forward-biased. In that state, it conducts current. When the cathode is at a higher potential than the anode, the diode is reverse-biased. It then blocks current and acts...