I'm currently reading A First Look at Rigorous Probability Theory by J. S. Rosenthal, and I just got to the definition of random variable:
Definition 3.1.1 Given a probability triple $(\Omega,\mathcal F,\mathbf P)$, a random variable is a function $X$ from $\Omega$ to the real numbers $\mathbf R$, such that
$$\{\omega\in\Omega;X(\omega)\le x\}\in\mathcal F,\quad x\in\mathbf R\tag{3.1.2}$$
Equation (3.1.2) is a technical requirement, and states that the function $X$ must be measurable. It can also be written as $\{X\le x\}\in\mathcal F$, or $X^{-1}((-\infty,x])\in\mathcal F$, for all $x\in\mathbf R$.
Now, I understand this definition. What I don't understand is why we need it. I did some research, and I found this answer, which is pretty clear. Still, I have an issue: in the case used by the answer, it makes sense to use a map from the set of human beings to that of real numbers, since human beings are not mathematical objects which can be compared. However, I don't understand why random variables are necessary when, say, $\Omega=[0,1]$, or any subset of $\mathbf R$. In that case, the elements of the sample space are comparable, so do we still need random variables? If yes, why?
In case there's something I'm missing, the question would be: what is the correct interpretation of the given definition? Given some $\omega\in\Omega$, what does the number $X(\omega)$ represent, intuitively?