The 555 uses an external R - C ramp generator. When the ramp voltage reaches 2/3 of VCC at pin 6, a transistor switch is turned on to dump the charge on the Cap. If pins 6 and 2 are connected, then when the Cap voltage falls to 1/3 VCC, the switch transistor is turned off and the Cap starts charging again. A resistor (Rb on the data sheet) can be put in series with the Cap to slow the discharge time. The output (pin 3) is high when the Cap is charging and low while it is discharging.