Anatomy of a Computer Simulation

What are simulations? Learn with an example.