A flight simulator is a type of videogame that simulates or re-creates aircraft flight and various aspects of the flight environment. This includes the equations that govern how aircraft fly, how they react to applications of their controls and other aircraft systems, and how they react to external environmental factors such as air density, turbulence, cloud, precipitation, etc.