A capacitor is a small device that stores a small amount of electrical charge, creating a voltage.Â
If you touch it with your finger, this will bleed off some of the charge, changing the voltage, which the Microbit can detect.
On the Microbit Version 2, capacitive sensing is available on Pins 0, 1, 2, and the logo