A rectifier circuit is used to convert AC current to DC by allowing current flow in only one direction. This conversion is necessary for supplying power to LEDs in most applications.