How Binary Code Represents Information
Binary represents data using strings of bits, each of which is either a 0 or a 1. Bits are simple on their own, but when grouped together they can encode any kind of information: numbers, text, sound, pictures, and even instructions for a machine. For example, the decimal number 13 becomes 1101 in binary, and letters are encoded using systems such as ASCII or Unicode, which assign numerical values to characters.
Digital images specify pixel colors using binary patterns, and audio files encode sound waves as sampled numerical values. Whatever the data, the computer is ultimately blind to anything but patterns of bits flowing through circuits.