Lava is produced from the interior of the earth and erupts from volcanos if enough pressure builds to crack the surface and escape.