nil- type of the value nil whose main property is to be different from any other value. It usually represents the absence of a useful value.
boolean- values false and true (both nil and false make a condition false; any other value makes it true)
number- real numbers
string- arrays of characters (strings may contain any 8-bit character, including embedded zeros)
function- Lua functions
userdata- can hold arbitrary C data (corresponds to a block of raw memory)
thread- independent threads of execution used to implement coroutines
table- arrays that can hold values of any type except
value=table[x]). The first value in a table is at position 1 (and not 0 as for C arrays).