Those facts that can be expressed in quantitative terms are called variables, whose value changes continuously. If the height of the students in a classroom is measured, then the height of student will be called a variable.
Difference between discrete and continuous variables : The difference between these two is that there can be any value of the continuous variable. It gradually increases and it is fractional. For example, 2.4, 3.5 or 0-5, 5-10 etc. class-intervals, whereas the discrete variables are always integers, such as 1, 2, 3, 5, 10, 12, etc.