Costa Rica lies along the boundary of the Caribbean and Cocos tectonic plates, making it a convergent plate boundary. The Cocos Plate is subducting beneath the Caribbean Plate, resulting in the formation of volcanoes, earthquakes, and other geologic activities.