The capital Latin letter X is used to represent a random variable in statistics
The Latin small letter x is used to represent a variable or coefficient. In algebra, x is often used to represent an unknown value. The symbol x is also used to represent the horizontal dimension in the 2D cartesian coordinate system.
A random variable represents an event whose outcome is unknown.