ELI5: Explain Like I'm 5

Type system

A type system is like a set of rules that a computer language follows to keep track of the different kinds of information. For example, in a language like JavaScript, we have different kinds of data like numbers, strings, and Booleans. A type system can keep track of what kind of data we're dealing with and make sure that we only use the right kind of data in the right place. That way, our code will run correctly and won't cause errors.