 Continuous random variables are defined in terms of sets of numbers, along with functions that map such sets to probabilities.Because of various difficulties (e.g.the Banach–Tarski paradox) that arise if such sets are insufficiently constrained, it is necessary to introduce what is termed a sigma-algebra to constrain the possible sets over which probabilities can be defined.