In geology, a vein is a finite volume within a rock, having a distinct shape, filled with crystals of one or more minerals, which were precipitated from an (aqueous) fluid. Veins are formed by fluids carrying mineral constituents into a rock mass as a consequence of some form of hydraulic flow within the rock. Usually this is the result of hydrothermal circulation.
See more at Wikipedia.org...