One way to think about a computer is that it is made up of millions of electronic switches called transistors.
Transistors are on or off.
Electricity is flowing through the transistor or it isn t. This means a circuit is closed or open. This way of storing information in a computer using a binary code of 0s and 1s is used to store numbers, words, sounds, and pictures. Of course, there are no actual 0s and 1s inside the machine. These symbols merely represent a switch being off or on.