Computers store data using binary code, representing information as a series of ones and zeros. These binary digits, or bits, are organised into bytes, which can represent characters, numbers, images, and more. Different types of storage devices, such as hard drives and solid-state drives, physically store and retrieve this binary data.