In probability theory, the sample space of an experiment or random trial is the set of all possible outcomes or results of that experiment.