Dyke (geology)

A dyke (or dike) is when later molten lava pushes up between older rock layers. This produces later vertical rock between older layers of rock. 
Technically, it is any geologic body which cuts across: a) flat wall rock structures, such as bedding. b) massive rock formations, usually igneous in origin. Dykes can therefore be either pushed in between (intrusive) or laid down (sedimentary) in origin.
The most usual thing that happens is that later volcanic activity pushes lava through strata which were laid down earlier in a sedimentary fashion, or through earlier igneous rocks. On the Isle of Arran, for example, there are hundreds of igneous dykes giving rise to the term dyke swarm. 
Alternatively, sedimentary rocks can be laid down in vertical gaps between strata. Or, after underwater earthquakes, gaps caused by the earthquake can be filled in with breccia, that is, broken rocks.
Dykes are a common, almost universal, feature of the older Palaeozoic rocks. Another type of intrusion is the sill, where later rock is formed between older layers, not through them. So dykes are vertical intrusions, and sills are horizontal intrusions. Many magmatic events produce both vertical and horizontal intrusions.
Dyke swarms can be seen on other planets.