300mF capacitor is the battery. It regulates at 5v from the 47Ω resistor, so it stops from the battery to overcharge when charged.
BLUE RESULT-------CHARGING VOLTAGE
GREEN RESULT----DISCHARGE(USAGE) VOLTAGE
BLUE LED------------FULLY CHARGED
RED LED--------------DEAD BATTERY