A DC power supply converts alternating current (AC) from the mains to direct current (DC) at a specified voltage and current level to power electronic devices. It is essential for applications requiring stable and precise voltage and current, such as in laboratory testing, telecommunications, and consumer electronics.