The rectifier controls and converts the alternating voltage produced by the alternator, used in the electrical system, into 12V direct current voltage within a specified tolerance, to ensure that the battery receives charging and also to ensure that the bulbs do not burn out.