Volcanoes form when pressure builds up below the Earth's crust, causing magma and gases to erupt through openings. Scientists categorize volcanoes as active, dormant, or extinct based on their eruption history. The movement of tectonic plates causes friction that results in earthquakes and volcanic eruptions, particularly along plate boundaries, according to the theory of plate tectonics. There are over 1,500 active volcanoes on Earth, with more located under the oceans, and active volcanoes in the United States are primarily found in Hawaii, Alaska, California, Oregon and Washington.