Veins (sometimes referred to as nerves) constitute one of the most visible features of leaves. The veins in a leaf represent the vascular structure of the organ, extending into the leaf via the petiole and providing transportation of water and nutrients between leaf and stem, and play a crucial role in the maintenance of leaf water status and photosynthetic capacity. They also play a role in the mechanical support of the leaf. Within the lamina of the leaf, while some vascular plants possess only a single vein, in most this vasculature generally divides (ramifies) according to a variety of patterns (venation) and form cylindrical bundles, usually lying in the median plane of the mesophyll, between the two layers of epidermis. This pattern is often specific to taxa, and of which angiosperms possess two main types, parallel and reticulate (net like). In general, parallel venation is typical of monocots, while reticulate is more typical of eudicots and magnoliids ("dicots"), though there are many exceptions.
The vein or veins entering the leaf from the petiole are called primary or first-order veins. The veins branching from these are secondary or second-order veins. These primary and secondary veins are considered major veins or lower order veins, though some authors include third order. Each subsequent branching is sequentially numbered, and these are the higher order veins, each branching being associated with a narrower vein diameter. 
In parallel veined leaves, the primary veins run parallel and equidistant to each other for most of the length of the leaf and then converge or fuse (anastomose) towards the apex. Usually, many smaller minor veins interconnect these primary veins, but may terminate with very fine vein endings in the mesophyll. Minor veins are more typical of angiosperms, which may have as many as four higher orders. 
In contrast, leaves with reticulate venation have a single (sometimes more) primary vein in the centre of the leaf, referred to as the midrib or costa, which is continuous with the vasculature of the petiole. The secondary veins, also known as second order veins or lateral veins, branch off from the midrib and extend toward the leaf margins. These often terminate in a hydathode, a secretory organ, at the margin. In turn, smaller veins branch from the secondary veins, known as tertiary or third order (or higher order) veins, forming a dense reticulate pattern. The areas or islands of mesophyll lying between the higher order veins, are called areoles. Some of the smallest veins (veinlets) may have their endings in the areoles, a process known as areolation. These minor veins act as the sites of exchange between the mesophyll and the plant's vascular system. Thus, minor veins collect the products of photosynthesis (photosynthate) from the cells where it takes place, while major veins are responsible for its transport outside of the leaf. At the same time water is being transported in the opposite direction.
The number of vein endings is very variable, as is whether second order veins end at the margin, or link back to other veins. There are many elaborate variations on the patterns that the leaf veins form, and these have functional implications. Of these, angiosperms have the greatest diversity. Within these the major veins function as the support and distribution network for leaves and are correlated with leaf shape. For instance, the parallel venation found in most monocots correlates with their elongated leaf shape and wide leaf base, while reticulate venation is seen in simple entire leaves, while digitate leaves typically have venation in which three or more primary veins diverge radially from a single point.
In evolutionary terms, early emerging taxa tend to have dichotomous branching with reticulate systems emerging later. Veins appeared in the Permian period (299–252 mya), prior to the appearance of angiosperms in the Triassic (252–201 mya), during which vein hierarchy appeared enabling higher function, larger leaf size and adaption to a wider variety of climatic conditions. Although it is the more complex pattern, branching veins appear to be plesiomorphic and in some form were present in ancient seed plants as long as 250 million years ago. A pseudo-reticulate venation that is actually a highly modified penniparallel one is an autapomorphy of some Melanthiaceae, which are monocots; e.g., Paris quadrifolia (True-lover's Knot). In leaves with reticulate venation, veins form a scaffolding matrix imparting mechanical rigidity to leaves.