In forward bias condition, the positive terminal of battery is connected to the p-type and the negative terminal of battery is connected to the n-type. This reduces the width of the depletion region as the charge carriers, i.e., the holes in the p-type region and the electrons in the n-type region are pushed toward the junction.