KarMic interview question

How does the forward and reverse bias work in a diode?