A random variable represents a characteristic of an experiment or sample unit. Specifically, a random variable is not directly controlled by the researcher. A random variable can be numeric or qualitative.
For example, if you are sampling high school students, the sample unit would be a student. Possible random variables would include height, weight, gender, hair color, and so on. As you randomly select students, each of these characteristics will vary.