In computer science and computer programming, a data type or just a type is a piece of information about a value that lets the compiler or interpreter (programs that convert code to something that the computer can understand) know how the value is supposed to be used.