Megabytes (MB) are smaller than gigabytes (GB) when it comes to computer storage (MB). Kilobytes (KB) are smaller than megabytes (MB), and terabytes (TB) are bigger than gigabytes (GB).
One character, which could be a letter, number, or symbol, takes up one byte of memory. A single byte is made up of 8 bits, which are basically spaces in a string that can either be one or zero and are written in binary. Together, these pieces give the information that a certain character needs.
One kilobyte is made up of 1024 bytes, and one megabyte is made up of 1024 kilobytes. There are 1024 megabytes in a gigabyte and 1024 gigabytes in a terabyte, so the pattern keeps going.