The most common way to convert alternating current into direct current is to use one or more diodes, those handy electronic components that allow current to pass in one direction but not the other. Although a rectifier converts alternating current to direct current, the resulting direct current isn't a steady voltage.