These foreign bodies are picked up as magma or lava flows, and are incorporated, later to cool in the matrix.
Xenoliths are picked up by what and deposited into the matrix of igneous rocks? 
magma or lava flows