Computers use electricity to generate signals which are on or off, ie, a voltage or no volts, this is known as binary because bi means two, so binary is a signal (a voltage DC) or no volts. Binary is the basis for all computer and line transmission systems.
Unfortunately it does not give you enough options to convert decimal, which is what humans use, to a data form that can transmit characters over or through a digital system.
This is where ASCII comes in.
The data has to be converted to Octal, not much used now, or Hexadecimal, which is.
So if you are trying to learn about data forget decimal and learn hex.
http://www.janeg.ca/scjp/oper/binhex.html
Regards, Bob.