I've been learning about different parts used in circuits ,and i don't fully understand how the capacitor releases its energy (discharges). What i am getting at, is the only time it discharges is when the power source is removed and replaced by a some sort of connection creating a complete circuit please try to explain how it works.
Thanks - Melvin Powell*
Apologies if the following is TOO basic.
Think of electronics => plumbing of water pipes.
ie bigger resistance = thinner pipes - so you can get less water (current) through it than with thicker pipes (less resistance).
A capacitor is a bucket. You fill it with water from some water (current) source until it is full. But if it is connected to something else then water is also draining out. How quickly this happens depends on how thick the pipes are in and out.
Also: all capacitors (buckets) have a leak in them. So the water will drain away eventually all by itself. ie turn off the power switch and the caps will discharge by themselves over time.
As per 'walt' post then one resistor constrains the pipe (ie how quickly water flows into the bucket) and the size of the capacitor is the size of the bucket. So the two in combination dictate how quickly the bucket becomes 'full'.
The same is true for draining the bucket via another circuit.