In computer science and mathematics, binary is a system where numbers and values are expressed 0 or 1.
Binary is base-2, meaning that it only uses two digits or bits. For computers, 1 is true or “on”, and 0 is false or “off”. The concept of binary and bits are based on of Boolean algebra.
The binary number system is positional. So even though it only works with 1’s and 0’s, the position of those two digits can represent much more.
To get a high-level overview of how computers work and binary is used, check out this video: