A p-n junction diode’s behavior depends on carrier movement, recombination and the electric field across its depletion region. Understanding these mechanisms helps engineers interpret diode current, switching behavior, capacitance and response to light.