Stochastic processes and their applications