I think the replies missed some of the nuts and bolts.
Computer chips have pins. If these pins are configured as outputs, they emit voltages (as inputs, they detect them). Usually, there are two possible voltages: 0V and 5V (or 3.3V or 1.8V, depending on the chip). The voltages can be used...