P-N junction diode is a combination of P-type and N-type semiconductor materials. There is a movement of electrons from N-type material to the P-type material and movement of holes from P-type materials to the N-type material. This movement later forms a junction known as the P-N junction.