Discrete variables are quantitative variables that take on a finite or countably infinite set of values. They are often used in statistical analysis to categorize and analyze data that can be counted, such as the number of students in a class or the number of cars in a parking lot.