Primitive Data:Primitive data refers to basic built-in datatypes such as integers, floating-point numbers, characters, and booleans.
Reference Data:Reference data refers to complex datatypes that are composed of multiple primitive or reference datatypes. Examples include arrays, objects, and strings.
Variable:A variable is a named storage location in memory that holds a value. It is associated with a specific datatype which determines the kind of values it can store and the operations that can be performed on it.