Volcanoes and earthquakes tend to occur near what?

Volcanoes and earthquakes tend to occur near tectonic plate boundaries.