This chapter presents the basic principles of the simulation of random variables and random vectors, including a short introduction to the simulation of pseudo-random numbers, the inverse distribution function method and von Neumann's acceptance-rejection method, with applications to the simulation of Gaussian vectors, (fractional) Brownian motion and Poisson process paths.