A pine is any conifer in the genus Pinus () of the family Pinaceae. Pinus is the sole genus in the subfamily Pinoideae. The Plant List compiled by the Royal Botanic Gardens, Kew and Missouri Botanical Garden accepts 126 species names of pines as current, together with 35 unresolved species and many more synonyms. Pine may also refer to the lumber derived from pine trees; pine is one of the more extensively used types of wood used as lumber.
The modern English name "pine" derives from Latin pinus, which some have traced to the Indo-European base *pīt- ‘resin’ (source of English pituitary). Before the 19th century, pines were often referred to as firs (from Old Norse fura, by way of Middle English firre). In some European languages, Germanic cognates of the Old Norse name are still in use for pines—in Danish fyr, in Norwegian fura/fure/furu, Swedish fura/furu, Dutch vuren, and German Föhre—but in modern English, fir is now restricted to fir (Abies) and Douglas fir (Pseudotsuga).
Pine trees are evergreen, coniferous resinous trees (or, rarely, shrubs) growing 3–80 m (10–260 ft) tall, with the majority of species reaching 15–45 m (50–150 ft) tall. The smallest are Siberian dwarf pine and Potosi pinyon, and the tallest is an 81.79 m (268.35 ft) tall ponderosa pine located in southern Oregon's Rogue River-Siskiyou National Forest.
Pines are long lived and typically reach ages of 100–1,000 years, some even more. The longest-lived is the Great Basin bristlecone pine, Pinus longaeva. One individual of this species, dubbed "Methuselah", is one of the world's oldest living organisms at around 4,600 years old. This tree can be found in the White Mountains of California. An older tree, now cut down, was dated at 4,900 years old. It was discovered in a grove beneath Wheeler Peak and it is now known as "Prometheus" after the Greek immortal.
The spiral growth of branches, needles, and cone scales may be arranged in Fibonacci number ratios. The new spring shoots are sometimes called "candles"; they are covered in brown or whitish bud scales and point upward at first, then later turn green and spread outward. These "candles" offer foresters a means to evaluate fertility of the soil and vigour of the trees.
The bark of most pines is thick and scaly, but some species have thin, flaky bark. The branches are produced in regular "pseudo whorls", actually a very tight spiral but appearing like a ring of branches arising from the same point. Many pines are uninodal, producing just one such whorl of branches each year, from buds at the tip of the year's new shoot, but others are multinodal, producing two or more whorls of branches per year.
Pines are mostly monoecious, having the male and female cones on the same tree, though a few species are sub-dioecious, with individuals predominantly, but not wholly, single-sex. The male cones are small, typically 1–5 cm long, and only present for a short period (usually in spring, though autumn in a few pines), falling as soon as they have shed their pollen. The female cones take 1.5–3 years (depending on species) to mature after pollination, with actual fertilization delayed one year. At maturity the female cones are 3–60 cm long. Each cone has numerous spirally arranged scales, with two seeds on each fertile scale; the scales at the base and tip of the cone are small and sterile, without seeds.
The seeds are mostly small and winged, and are anemophilous (wind-dispersed), but some are larger and have only a vestigial wing, and are bird-dispersed (see below). Female cones are woody and sometimes armed to protect developing seeds from foragers. At maturity, the cones usually open to release the seeds. In some of the bird-dispersed species, for example whitebark pine,), the seeds are only released by the bird breaking the cones open. In others, the seeds are stored in closed cones for many years until an environmental cue triggers the cones to open, releasing the seeds. This is called serotiny. The most common form of serotiny is pyriscence, in which a resin binds the cones shut until melted by a forest fire, for example in Pinus rigida.
Conifers evolved about 300 million years ago, and pines perhaps 200 million years ago.
Pinus is the largest genus of the Pinaceae, the pine family, which is the oldest and largest conifer family. It dates back to 206 million years ago. Based on recent Transcriptome analysis, Pinus is most closely related to the genus Cathaya, which in turn is closely related to spruces. These genera, with firs and larches, form the pinoid clade of the Pinaceae. The oldest verified fossil of the genus is Pinus yorkshirensis from the Hauterivian-Barremian boundary (131-129 Ma) in the Speeton Clay, England.
The evolutionary history of the genus Pinus has been complicated by hybridization. Pines are prone to inter-specific breeding. Wind pollination, long life spans, overlapping generations, large population size, and weak reproductive isolation make breeding across species more likely. As the pines have diversified, gene transfer between different species has created a complex history of genetic relatedness.
Many of the smaller groups of Pinus are composed of closely related species with recent divergence and history of hybridization. This results in low morphological and genetic differences. This, coupled with low sampling and underdeveloped genetic techniques, has made taxonomy difficult to determine. Recent research using large genetic datasets has clarified these relationships into the groupings we recognize today.
Pines are native to the Northern Hemisphere, and in a few parts of the tropics in the Southern Hemisphere. Most regions of the Northern Hemisphere (see List of pines by region) host some native species of pines. One species (Sumatran pine) crosses the equator in Sumatra to 2°S. In North America, various species occur in regions at latitudes from as far north as 66°N to as far south as 12°N.
Pines may be found in a very large variety of environments, ranging from semi-arid desert to rainforests, from sea level up to 5,200 metres (17,100 ft), from the coldest to the hottest environments on Earth. They often occur in mountainous areas with favorable soils and at least some water.
Various species have been introduced to temperate and subtropical regions of both hemispheres, where they are grown as timber or cultivated as ornamental plants in parks and gardens. A number of such introduced species have become naturalized, and some species are considered invasive in some areas and threaten native ecosystems.
Pines grow well in acid soils, some also on calcareous soils; most require good soil drainage, preferring sandy soils, but a few (e.g. lodgepole pine) can tolerate poorly drained wet soils. A few are able to sprout after forest fires (e.g. Canary Island pine). Some species of pines (e.g. bishop pine) need fire to regenerate, and their populations slowly decline under fire suppression regimens.
Pine trees are beneficial to the environment, they can remove carbon dioxide from the atmosphere. Although several studies have indicated that after the establishment of pine plantations in grasslands, there is an alteration of carbon pools including a decrease of the soil organic carbon pool.
Several species are adapted to extreme conditions imposed by elevation and latitude (e.g. Siberian dwarf pine, mountain pine, whitebark pine, and the bristlecone pines). The pinyon pines and a number of others, notably Turkish pine and gray pine, are particularly well adapted to growth in hot, dry semidesert climates.
The seeds are commonly eaten by birds, such as grouse, crossbills, jays, nuthatches, siskins, and woodpeckers, and by squirrels. Some birds, notably the spotted nutcracker, Clark's nutcracker, and pinyon jay, are of importance in distributing pine seeds to new areas. Pine needles are sometimes eaten by some Lepidoptera (butterfly and moth) species (see list of Lepidoptera that feed on pines), the Symphytan species pine sawfly, and goats.
Pine pollen may play an important role in the functioning of detrital food webs. Nutrients from pollen aid detritivores in development, growth, and maturation, and may enable fungi to decompose nutritionally scarce litter. Pine pollen is also involved in moving plant matter between terrestrial and aquatic ecosystems.
Pines are among the most commercially important tree species valued for their timber and wood pulp throughout the world. In temperate and tropical regions, they are fast-growing softwoods that grow in relatively dense stands, their acidic decaying needles inhibiting the sprouting of competing hardwoods. Commercial pines are grown in plantations for timber that is denser and therefore more durable than spruce (Picea). Pine wood is widely used in high-value carpentry items such as furniture, window frames, panelling, floors, and roofing, and the resin of some species is an important source of turpentine.
Because pines have no insect- or decay-resistant qualities after logging, untreated they are generally recommended for construction purposes as indoor use only (indoor drywall framing, for example). For outside use, pine needs to be treated with copper azole, chromated copper arsenate or other suitable chemical preservative.
Many pine species make attractive ornamental plantings for parks and larger gardens with a variety of dwarf cultivars being suitable for smaller spaces. Pines are also commercially grown and harvested for Christmas trees. Pine cones, the largest and most durable of all conifer cones, are craft favorites. Pine boughs, appreciated especially in wintertime for their pleasant smell and greenery, are popularly cut for decorations. Pine needles are also used for making decorative articles such as baskets, trays, pots, etc., and during the U.S. Civil War, the needles of the longleaf pine "Georgia pine" were widely employed in this. This originally Native American skill is now being replicated across the world. Pine needle handicrafts are made in the US, Canada, Mexico, Nicaragua, and India. Pine needles are also versatile and have been used by Latvian designer Tamara Orjola to create different biodegradable products including paper, furniture, textiles and dye.
Pine needles serve as food for various Lepidoptera. Several species of pine are attacked by nematodes, causing pine wilt disease, which can kill some quickly. Some of these Lepidoptera species, many of them moths, specialize in feeding on only one or sometimes several species of pine. Beside that many species of birds and mammals shelter in pine habitat or feed on pine nuts.
When grown for sawing timber, pine plantations can be harvested after 25 years, with some stands being allowed to grow up to 50 (as the wood value increases more quickly as the trees age). Imperfect trees (such as those with bent trunks or forks, smaller trees, or diseased trees) are removed in a "thinning" operation every 5–10 years. Thinning allows the best trees to grow much faster, because it prevents weaker trees from competing for sunlight, water, and nutrients. Young trees removed during thinning are used for pulpwood or are left in the forest, while most older ones are good enough for saw timber.
A 30-year-old commercial pine tree grown in good conditions in Arkansas will be about 0.3 m (1.0 ft) in diameter and about 20 m (66 ft) high. After 50 years, the same tree will be about 0.5 m (1.6 ft) in diameter and 25 m (82 ft) high, and its wood will be worth about seven times as much as the 30-year-old tree. This however depends on the region, species and silvicultural techniques. In New Zealand plantations maximum value is reached at around 28 years with height being as high as 30 m (98 ft) and diameter 0.5 m (1.6 ft) and maximum wood production around 35 years (again depending on factors such as site, stocking and genetics). Trees are normally planted 3–4 m apart, or about 1000 per hectare (100,000 per km2). 
The soft, moist, white inner bark (cambium) beneath the woody outer bark is edible and very high in vitamins A and C. It can be eaten raw in slices as a snack or dried and ground up into a powder for use as an ersatz flour or thickener in stews, soups, and other foods, such as bark bread. Adirondack Indians got their name from the Mohawk Indian word atirú:taks, meaning "tree eaters".
A tea made by steeping young, green pine needles in boiling water (known as tallstrunt in Sweden) is high in vitamins A and C. In eastern Asia, pine and other conifers are accepted among consumers as a beverage product, and used in teas, as well as wine.
Pine needles from Pinus densiflora were found to contain 30.54 mg/g of proanthocyanidins when extracted with hot water. Comparative to ethanol extraction resulting in 30.11 mg/g, simply extracting in hot water is preferable.
Pines have been a frequently mentioned tree throughout history, including in literature, paintings and other art, and in religious texts.
Writers of various nationalities and ethnicities have written of pines. Among them, John Muir, Dora Sigerson Shorter, Eugene Field, the Chinese, Theodore Winthrop, and Rev. George Allan D.D.
"And that they should publish and proclaim in all their cities, and in Jerusalem, saying, Go forth unto the mount, and fetch olive branches, and pine branches [emphasis added], and myrtle branches, and palm branches, and branches of thick trees, to make , as it is written."
"13: The glory of Lebanon shall come unto thee, the fir tree, the pine tree, and the box together, to beautify the place of my sanctuary; and I will make the place of my feet glorious."
The pine is a motif in Chinese art and literature, which sometimes combines painting and poetry in the same work. Some of the main symbolic attributes of pines in Chinese art and literature are longevity and steadfastness: the pine retains its green needles through all the seasons. Sometimes the pine and cypress are paired. At other times the pine, plum, and bamboo are considered as the "Three Friends of Winter". Many Chinese art works and/or literature (some involving pines) have been done using paper, brush, and Chinese ink: interestingly enough, one of the main ingredients for Chinese ink has been pine soot.