Click the screen to charge and discharge the capacitor.
A capacitor is a passive two-terminal electrical component that stores potential energy in an electric field.
The capacitor has an internal structure in which the thin plates face each other.

The capacitor is made with two thin metal plates located close together but not touching each other. For this reason, the symbol of the capacitor is drawn as if the two metal plates came close to each other.

When the power is connected to the opposite electrode, charges are accumulated on the electrode. The reason that the electric charges do not escape to another place is that the attraction (the pulling force) acts between the charges with different polarities.