Earth is an example of a nearly closed dynamic system. As a system, it exchanges heat but not matter across its boundaries. Solar and internal heat energy cause air, water and tectonic plates to move in patterns over time, driving processes like volcanism, earthquakes and shifting continents. Rivers are also examples of open dynamic systems, gaining water from the environment and flowing it towards the ocean in response to gravitational and solar energy inputs.