A categorical variable is a variable that places observations into groups or categories. Instead of measuring “how much,” categorical variables describe “which kind.”
Each observation belongs to one category.
For example:
Favorite ice cream flavor → categorical
Number of scoops eaten → quantitative