What is an «experiment» in probability theory?

In probability theory, an experiment or trial (see below) is any procedure that can be infinitely repeated and has a well-defined set of possible outcomes, known as the sample space.

en.wikipedia.org/wiki/Experiment_(probability_theory)