A byte is a unit of measurement of the size of information on a computer or other electronicdevice. A single typed character (for example, 'x' or '8') is stored in one byte. A single byte generally holds eight bits (bits are, in turn, the smallest unit of storage on a computer, meaning what atoms mean for matter). Bytes are often represented by the letter B.
Historically, bytes have been used to encode text characters. Most of the time, this was done using eight bits per byte, but other numbers of bits were also used. To describe the byte that uses 8 bits, computer scientists talk about octet. EBCDIC is a character encoding used mainly on mainframe computers that uses 8 bits per byte, ASCII is another encoding that uses only seven bits.
When used as a measurement, the byte is basically measuring how many numbers a computer (or electronics device) can hold. This is useful for things like RAM in a computer, or storage devices like USB drivesand other types of Flash memory. Sending of data (for a modem or wi-fi) is usually measured in bits, not bytes.
One byte is usually equal to eight bits. Some very early computers had bytes with different numbers of bits. An octet is always eight bits. In modern usage, an octet and a byte are the same.