Type inference is a way for a computer to figure out what kind of data is being used without it being explicitly written. For example, if you tell the computer that "orange" is a color, it can infer that "orange" is a word or a string. That way it doesn't have to be explicitly told what kind of data it is.