A data type is a set of possible values from which an expression can take its value and the set of operators that can be used to represent these values. Examples of types are boolean, string, number, and Color3.

The eight basic types in Lua are nil, boolean, number, string, function, userdata, thread, and table.