A solar charger is a device that charges electronic devices by converting solar energy into electrical energy.