Xenoliths may be engulfed along the margins of a magma chamber, torn loose from the walls of an erupting lava conduit or explosive diatreme or picked up along the base of a flowing body of lava on the Earth's surface.