How can the same eight bits show a letter on your phone or play part of a sound?
Your phone can show a letter in a message or play a sound. Both are stored using zeros and ones. Here's the puzzle: the very same eight digits could be part of either. How does your phone know what to do with them?
Think of a price of two hundred and forty-seven pounds. Across the top are the hundreds, tens and ones places. Each place is worth ten times the place to its right. The digits two, four and seven give you two hundred pounds, forty pounds and seven pounds.
Start at the right with ones. Move left and watch each place double: two, four, eight. These are powers of two, starting with two to the power of zero. The system is called binary. Each digit is a bit: a one includes its place value, and a zero leaves it out.
Look at the pattern one, zero, one, zero. The second bit from the right is a one. How much does that bit add to the number? Pick an answer.
Read this eight-bit pattern as an unsigned number, so none of the places are negative. From the left, the ones are in the sixty-fours place and the ones place. The zeros add nothing. Add sixty-four and one to get sixty-five in decimal.
Now the pattern is zero, zero, one, zero, zero, one, zero, one. Find the three places with a one and add their values. Pick the decimal total.
Keep the eight bits fixed. As an unsigned number they give sixty-five. They can give a pixel's shade in a greyscale image or a sample value in audio. In ASCII they give capital A. On a Z eighty processor they can tell it to copy register C into register B.
Start with the stored pattern. If you read it as ASCII text, you get capital A. If you read it as an unsigned number, you get sixty-five. The bits don't label their own type. You need context, such as the file format, to know how to read them.
Hexadecimal is base sixteen. It uses zero to nine, then A to F for ten to fifteen. Split the byte into two groups of four bits. They give hex four and one. That's four sixteens and one, or sixty-five. Two hex digits are easier to read than eight bits.