A device that converts alternating current to direct current is called

A device that converts alternating current to direct current is called