In probability theory and related fields, a stochastic or random process is a mathematical object usually defined as a family of random variables.