Volcanoes form along tectonic plate boundaries where one plate subducts under another or where plates move apart. They can also form over hotspots far from plate boundaries. Volcanoes are classified based on the type of material they emit - effusive volcanoes emit lava flows, explosive volcanoes emit pyroclastic material, and mixed volcanoes emit both. Large volcanic eruptions can impact climate by emitting ash and gases like sulfur dioxide into the stratosphere which can lower global temperatures. The largest volcanoes on Earth are Mauna Loa and Tamu Massif, while the highest include Ojos del Salado in South America. Volcanic activity also occurs beyond Earth on other solar system bodies like Mars,