What is The relationship between Tectonic Plates and volcanoes?

Tectonic plates shift, and rub together to create earthquakes.

Volcanoes erupt using magma that the plates float on, and the magma turns into lava.