Boolean type is generally used to judge whether it is true or not. For example, do you want to take an exam, finish it, graduate, and so on.
Integer is generally used for the calculation of age, quantity, etc. Without decimal point. For example, 1 2 33 -9 and so on.
Float (floating point, also known as double) is generally used in currency, area, volume and other sciences, including the calculation of decimal points. For example, 3.14154338.10000000103
String is generally used for general strings such as names and articles. For example, Zhang San, Table and Here I Come.
Array is generally used for complex data processing. It can be a multidimensional data structure, and can hold Boolean, integer, floating point, character, array and so on.
Object is generally used for object-oriented and contains methods and variables.