The movement of tectonic plates toward one another, producing compression and, where crust is consumed, subduction.