Magma often collects in magma chambers that may feed a volcano or solidify underground to form an intrusion.