The opening in the top of a volcano for the passage of lava, ash, and cinders is known as the crater.
This crater may fall in on itself as the lava weakens it. Or, an explosive eruption may take off the top of the crater. In either case, a much larger depression is created at the top of the volcano, and this is called a caldera.
Calderas may be thousands of feet wide and hundreds of feet deep.