An AC-DC power supply or adapter is an electrical device that obtains electricity from a grid-based power supply and converts it into a different current, frequency, and voltage. AC-DC power supplies are necessary to provide the right power that an electrical component needs.