Data type
Basic data types are the ones the processor can handle directly, and everything else is built from them: text, images, video. There are 4 families. Integers, like int, store numbers without a decimal point. Floating-point types, like float and double, store numbers with decimals. The character, char, stores a letter, a sign or an emoji. The boolean, bool, stores yes or no. A photo, in the end, is millions of integers that say the color of each dot.
Each language defines its own types, with sizes and ranges that can differ. In Python, an int grows as much as memory allows, so it doesn't overflow. Python also has no char: a character is a text of length 1. In C, a char takes 1 byte; in Java, 2. And in C sizes depend on the platform. That's why, when a number is very big or memory matters, you have to check what your language does.
The data type and the data structure answer different questions. The type says what's stored: an integer, a decimal, a letter. The structure says how it's organized: in a line, in a tree, in a table. The same array can hold integers, decimals, letters or booleans; the structure doesn't change, the contents do. It's like a shelf: the shelf is the structure and what you put on it, books or jars, is the type.
