A dune is a landform composed of wind- or water-driven sand. It typically takes the form of a mound, ridge, or hill. An area with dunes is called a dune system or a dune complex.  A large dune complex is called a dune field, while broad, flat regions covered with wind-swept sand or dunes with little or no vegetation are called ergs or sand seas. Dunes occur in different shapes and sizes, but most kinds of dunes are longer on the stoss (upflow) side, where the sand is pushed up the dune, and have a shorter slip face in the lee side. The valley or trough between dunes is called a dune slack.
 Dunes are most common in desert environments, where the lack of moisture hinders the growth of vegetation that would otherwise interfere with the  development of dunes. However, sand deposits are not restricted to deserts, and dunes are also found along sea shores, along streams in semiarid climates, in areas of glacial outwash, and in other areas where poorly cemented sandstone bedrock disintegrates to produce an ample supply of loose sand.  Subaqueous dunes can form from the action of water flow (fluvial processes) on sand or gravel beds of rivers, estuaries, and the sea-bed.
 Some coastal areas have one or more sets of dunes running parallel to the shoreline directly inland from the beach. In most cases, the dunes are important in protecting the land against potential ravages by storm waves from the sea. Artificial dunes are sometimes constructed to protect coastal areas.  The dynamic action of wind and water can sometimes cause dunes to drift, which can have serious consequences. For example, the town of Eucla, Western Australia, had to be relocated in the 1890s because of dune drift.
 
The modern word "dune" came into English from French around 1790, which in turn came from Middle Dutch dūne. A universally precise distinction does not exist between ripples, dunes, and draas, which are all deposits of the same type of materials.  Dunes are generally defined as greater than 7 cm tall and may have ripples, while ripples are deposits that are less than 3 cm tall.  A draa is a very large aeolian landform, with a length of several kilometers and a height of tens to hundreds of meters, and which may have superimposed dunes.
 
Dunes are made of sand-sized particles, and may consist of quartz, calcium carbonate, snow, gypsum, or other materials. The upwind/upstream/upcurrent side of the dune is called the stoss side; the downflow side is called the lee side. Sand is pushed (creep) or bounces (saltation) up the stoss side, and slides down the lee side. A side of a dune that the sand has slid down is called a slip face (or slipface).
 The Bagnold formula gives the speed at which particles can be transported.
 Five basic dune types are recognized: crescentic, linear, star, dome, and parabolic. Dune areas may occur in three forms: simple (isolated dunes of basic type), compound (larger dunes on which smaller dunes of same type form), and complex (combinations of different types).
 Barchan dunes are crescent-shaped mounds which are generally wider than they are long. The lee-side slipfaces are on the concave sides of the dunes. These dunes form under winds that blow consistently from one direction (unimodal
winds). They form separate crescents when the sand supply is comparatively small. When the sand supply is greater, they may merge into barchanoid ridges, and then transverse dunes (see below).
 Some types of crescentic dunes move more quickly over desert surfaces than any other type of dune. A group of dunes moved more than 100 metres per year between 1954 and 1959 in China's Ningxia Province, and similar speeds have been recorded in the Western Desert of Egypt. The largest crescentic dunes on Earth, with mean crest-to-crest widths of more than three kilometres, are in China's Taklamakan Desert.
 Abundant barchan dunes may merge into barchanoid ridges, which then grade into linear (or slightly sinuous) transverse dunes, so called because they lie transverse, or across, the wind direction, with the wind blowing perpendicular to the ridge crest.
 Seif dunes are linear (or slightly sinuous) dunes with two slip faces. The two slip faces make them sharp-crested. They are called seif dunes after the Arabic word for "sword". They may be more than 160 kilometres (100 miles) long, and thus easily visible in satellite images (see illustrations).
 Seif dunes are associated with bidirectional winds. The long axes and ridges of these dunes extend along the resultant direction of sand movement (hence the name "longitudinal"). Some linear dunes merge to form Y-shaped compound dunes.
 Formation is debated. Ralph Bagnold, in The Physics of Blown Sand and Desert Dunes, suggested that some seif dunes form when a barchan dune moves into a bidirectional wind regime, and one arm or wing of the crescent elongates. Others suggest that seif dunes are formed by vortices in a unidirectional wind. In the sheltered troughs between highly developed seif dunes, barchans may be formed, because the wind is constrained to be unidirectional by the dunes.
 Seif dunes are common in the Sahara. They range up to 300 m (980 ft) in height and 300 km (190 mi) in length. In the southern third of the Arabian Peninsula, a vast erg, called the Rub' al Khali or Empty Quarter, contains seif dunes that stretch for almost 200 km (120 mi) and reach heights of over 300 m (980 ft).
 Linear loess hills known as pahas are superficially similar. These hills appear to have been formed during the last ice age under permafrost conditions dominated by sparse tundra vegetation.
 Radially symmetrical, star dunes are pyramidal sand mounds with slipfaces on three or more arms that radiate from the high center of the mound. They tend to accumulate in areas with multidirectional wind regimes. Star dunes grow upward rather than laterally. They dominate the Grand Erg Oriental of the Sahara. In other deserts, they occur around the margins of the sand seas, particularly near topographic barriers. In the southeast Badain Jaran Desert of China, the star dunes are up to 500 metres tall and may be the tallest dunes on Earth.
 Oval or circular mounds that generally lack a slipface. Dome dunes are rare and occur at the far upwind margins of sand seas.
 Fixed crescentic dunes that form on the leeward margins of playas and river valleys in arid and semiarid regions in response to the direction (s) of prevailing winds, are known as lunettes, source-bordering dunes, bourrelets and clay dunes. They may be composed of clay, silt, sand, or gypsum, eroded from the basin floor or shore, transported up the concave side of the dune, and deposited on the convex side. Examples in Australia are up to 6.5 km long, 1 km wide, and up to 50 metres high. They also occur in southern and West Africa, and in parts of the western United States, especially Texas.
 U-shaped mounds of sand with convex noses trailed by elongated arms are parabolic dunes. These dunes are formed from blowout dunes where the erosion of vegetated sand leads to a U-shaped depression. The elongated arms are held in place by vegetation; the largest arm known on Earth reaches 12 km. Sometimes these dunes are called U-shaped, blowout, or hairpin dunes, and they are well known in coastal deserts. Unlike crescent shaped dunes, their crests point upwind. The bulk of the sand in the dune migrates forward.
 In plan view, these are U-shaped or V-shaped mounds of well-sorted, very fine to medium sand with elongated arms that extend upwind behind the central part of the dune. There are slipfaces that often occur on the outer side of the nose and on the outer slopes of the arms.
 These dunes often occur in semiarid areas where the precipitation is retained in the lower parts of the dune and underlying soils. The stability of the dunes was once attributed to the vegetative cover but recent research has pointed to water as the main source of parabolic dune stability. The vegetation that covers them—grasses, shrubs, and trees—help anchor the trailing arms. In inland deserts, parabolic dunes commonly originate and extend downwind from blowouts in sand sheets only partly anchored by vegetation. They can also originate from beach sands and extend inland into vegetated areas in coastal zones and on shores of large lakes.
 Most parabolic dunes do not reach heights higher than a few tens of metres except at their nose, where vegetation stops or slows the advance of accumulating sand.
 Simple parabolic dunes have only one set of arms that trail upwind, behind the leading nose. Compound parabolic dunes are coalesced features with several sets of trailing arms. Complex parabolic dunes include subsidiary superposed or coalesced forms, usually of barchanoid or linear shapes.
 Parabolic dunes, like crescent dunes, occur in areas where very strong winds are mostly unidirectional. Although these dunes are found in areas now characterized by variable wind speeds, the effective winds associated with the growth and migration of both the parabolic and crescent dunes probably are the most consistent in wind direction.
 The grain size for these well-sorted, very fine to medium sands is about 0.06 to 0.5 mm. Parabolic dunes have loose sand and steep slopes only on their outer flanks. The inner slopes are mostly well packed and anchored by vegetation, as are the corridors between individual dunes. Because all dune arms are oriented in the same direction, and, the inter-dune corridors are generally swept clear of loose sand, the corridors can usually be traversed in between the trailing arms of the dune. However to cross straight over the dune by going over the trailing arms, can be very difficult. Also, traversing the nose is very difficult as well because the nose is usually made up of loose sand without much if any vegetation.
 A type of extensive parabolic dune that lacks discernible slipfaces and has mostly coarse grained sand is known as a zibar. The term zibar comes from the Arabic word to describe "rolling transverse ridges ... with a hard surface". The dunes are small, have low relief, and can be found in many places across the planet from Wyoming (United States) to Saudi Arabia to Australia. Spacing between zibars ranges from 50 to 400 metres and they do not become more than 10 metres high. The dunes form at about ninety degrees to the prevailing wind which blows away the small, fine-grained sand leaving behind the coarser grained sand to form the crest.
 Occurring wherever winds periodically reverse direction, reversing dunes are varieties of any of the above shapes. These dunes typically have major and minor slipfaces oriented in opposite directions. The minor slipfaces are usually temporary, as they appear after a reverse wind and are generally destroyed when the wind next blows in the dominant direction.
 
 Draas are very large-scale dune bedforms; they may be tens or a few hundreds of metres in height, kilometres wide, and hundreds of kilometres in length. After a draa has reached a certain size, it generally develops superimposed dune forms. They are thought to be more ancient and slower-moving than smaller dunes, and to form by vertical growth of existing dunes. Draas are widespread in sand seas and are well-represented in the geological record.
 All these dune shapes may occur in three forms: simple (isolated dunes of basic type), compound (larger dunes on which smaller dunes of same type form), and complex (combinations of different types). Simple dunes are basic forms with the minimum number of slipfaces that define the geometric type. Compound dunes are large dunes on which smaller dunes of similar type and slipface orientation are superimposed. Complex dunes are combinations of two or more dune types. A crescentic dune with a star dune superimposed on its crest is the most common complex dune. Simple dunes represent a wind regime that has not changed in intensity or direction since the formation of the dune, while compound and complex dunes suggest that the intensity and direction of the wind has changed.
 The sand mass of dunes can move either windward or leeward, depending on if the wind is making contact with the dune from below or above its apogee. If wind hits from above, the sand particles move leeward; the leeward flux of sand is greater than the windward flux. Conversely, if sand hits from below, sand particles move windward. Further, if the wind is carrying sand particles when it hits the dune, the dune's sand particles will saltate more than if the wind had hit the dune without carrying sand particles.
 Coastal dunes form when wet sand is deposited along the coast and dries out and is blown along the beach. Dunes form where the beach is wide enough to allow for the accumulation of wind-blown sand, and where prevailing onshore winds tend to blow sand inland. The three key ingredients for coastal dune formation are a large sand supply, winds to move said sand supply, and a place for the sand supply to accumulate. Obstacles—for example, vegetation, pebbles and so on—tend to slow down the wind and lead to the deposition of sand grains. These small "incipient dunes or "shadow dunes" tend to grow in the vertical direction if the obstacle slowing the wind can also grow vertically (i.e., vegetation). Coastal dunes expand laterally as a result of lateral growth of coastal plants via seed or rhizome. Models of coastal dunes suggest that their final equilibrium height is related to the distance between the water line and where vegetation can grow. Coastal dunes can be classified by where they develop, or begin to take shape. Dunes are commonly grouped into either the Primary Dune Group or the Secondary Dune Group. Primary dunes gain most of their sand from the beach itself, while secondary dunes gain their sand from the primary dune. Along the Florida Panhandle, most dunes are considered to be foredunes or hummocks. Different locations around the globe have dune formations unique to their given coastal profile.
 Coastal sand dunes can provide privacy and/or habitats to support local flora and fauna. Animals such as sand snakes, lizards, and rodents can live in coastal sand dunes, along with insects of all types. Often the vegetation of sand dunes is discussed without acknowledging the importance that coastal dunes have for animals. Further, some animals, such as foxes and feral pigs can use coastal dunes as hunting grounds to find food. Birds are also known to utilize coastal dunes as nesting grounds. All these species find the coastal environment of the sand dune vital to their species' survival.
 Over the course of time coastal dunes may be impacted by tropical cyclones or other intense storm activity, dependent on their location. Recent work has suggested that coastal dunes tend to evolve toward a high or low morphology depending on the growth rate of dunes relative to storm frequency. During a storm event, dunes play a significant role in minimizing wave energy as it moves onshore. As a result, coastal dunes, especially those in the foredune area affected by a storm surge, will retreat or erode. To counteract the damage from tropical activity on coastal dunes, short term post-storm efforts can be made by individual agencies through fencing to help with sand accumulation.
 How much a dune erodes during any storm surge is related to its location on the coastal shoreline and the profile of the beach during a particular season. In those areas with harsher winter weather, during the summer a beach tends to take on more of a convex appearance due to gentler waves, while the same beach in the winter may take on more of a concave appearance. As a result, coastal dunes can get eroded much more quickly in the winter than in the summer. The converse is true in areas with harsher summer weather.
 There are many threats to these coastal communities. Some coastal dunes, for example ones in San Francisco, have been completely altered by urbanization; reshaping the dune for human use. This puts native species at risk. Another danger, in California and places in the UK specifically, is the introduction of invasive species. Plant species, such as Carpobrotus edulis, were introduced from South Africa in an attempt to stabilize the dunes and provide horticultural benefits, but instead spread taking land away from native species. Ammophila arenaria, known as European beachgrass, has a similar story, though it has no horticulture benefits. It has great ground coverage and, as intended, stabilized the dunes but as an unintended side effect prevented native species from thriving in those dunes. One such example is the dune field at Point Reyes, California. There are now efforts to get rid of both of these invasive species.
 As a dune forms, plant succession occurs. The conditions on an embryo dune are harsh, with salt spray from the sea carried on strong winds. The dune is well drained and often dry, and composed of calcium carbonate from seashells. Rotting seaweed, brought in by storm waves adds nutrients to allow pioneer species to colonize the dune. For example, in the United Kingdom these pioneer species are often marram grass, sea wort grass and other sea grasses. These plants are well adapted to the harsh conditions of the foredune, typically having deep roots which reach the water table, root nodules that produce nitrogen compounds, and protected stoma, reducing transpiration. Also, the deep roots bind the sand together, and the dune grows into a foredune as more sand is blown over the grasses. The grasses add nitrogen to the soil, meaning other, less hardy plants can then colonize the dunes. Typically these are heather, heaths and gorses. These too are adapted to the low soil water content and have small, prickly leaves which reduce transpiration. Heather adds humus to the soil and is usually replaced by coniferous trees, which can tolerate low soil pH, caused by the accumulation and decomposition of organic matter with nitrate leaching. Coniferous forests and heathland are common climax communities for sand dune systems.
 Young dunes are called yellow dunes and dunes which have high humus content are called grey dunes. Leaching occurs on the dunes, washing humus into the slacks, and the slacks may be much more developed than the exposed tops of the dunes. It is usually in the slacks that more rare species are developed and there is a tendency for the dune slacks' soil to be waterlogged where only marsh plants can survive. In Europe these plants include: creeping willow, cotton grass, yellow iris, reeds, and rushes. As for vertebrates in European dunes, natterjack toads sometimes breed here.
 Dune ecosystems are extremely difficult places for plants to survive. This is due to a number of pressures related to their proximity to the ocean and confinement to growth on sandy substrates. These include:
 Plants have evolved many adaptations to cope with these pressures:
 In deserts where large amounts of limestone mountains surround a closed basin, such as at White Sands National Park in south-central New Mexico, occasional storm runoff transports dissolved limestone and gypsum into a low-lying pan within the basin where the water evaporates, depositing the gypsum and forming crystals known as selenite. The crystals left behind by this process are eroded by the wind and deposited as vast white dune fields that resemble snow-covered landscapes. These types of dune are rare, and only form in closed arid basins that retain the highly soluble gypsum that would otherwise be washed into the sea.
 A nabkha, or coppice dune, is a small dune anchored by vegetation. They usually indicate desertification or soil erosion, and serve as nesting and burrow sites for animals.
 Sub-aqueous (underwater) dunes form on a bed of sand or gravel under the actions of water flow. They are ubiquitous in natural channels such as rivers and estuaries, and also form in engineered canals and pipelines. Dunes move downstream as the upstream slope is eroded and the sediment deposited on the downstream or lee slope in typical bedform construction. In the case of sub-aqueous barchan dunes, sediment is lost by their extremities, known as horns.
 These dunes most often form as a continuous 'train' of dunes, showing remarkable similarity in wavelength and height. The shape of a dune gives information about its formation environment. For instance, rivers produce asymmetrical ripples, with the steeper slip face facing downstream. Ripple marks preserved in sedimentary strata in the geological record can be used to determine the direction of current flow, and thus an indication of the source of the sediments.
 Dunes on the bed of a channel significantly increase flow resistance, their presence and growth playing a major part in river flooding.
 A lithified (consolidated) sand dune is a type of sandstone that is formed when a marine or aeolian sand dune becomes compacted and hardened. Once in this form, water passing through the rock can carry and deposit minerals, which can alter the color of the rock. Cross-bedded layers of stacks of lithified dunes can produce the cross-hatching patterns, such as those seen in Zion National Park in the western United States.
 A slang term, used in the southwest US, for consolidated and hardened sand dunes is "slickrock", a name that was introduced by pioneers of the Old West because their steel-rimmed wagon wheels could not gain traction on the rock.[citation needed]
 Sand dunes can have a negative impact on humans when they encroach on human habitats. Sand dunes move via a few different means, all of them helped along by wind. One way that dunes can move is by saltation, where sand particles skip along the ground like a bouncing ball. When these skipping particles land, they may knock into other particles and cause them to move as well, in a process known as creep. With slightly stronger winds, particles collide in mid-air, causing sheet flows. In a major dust storm, dunes may move tens of metres through such sheet flows. Also as in the case of snow, sand avalanches, falling down the slipface of the dunes—that face away from the winds—also move the dunes forward.
 Sand threatens buildings and crops in Africa, the Middle East, and China. Drenching sand dunes with oil stops their migration, but this approach uses a valuable resource and is quite destructive to the dunes' animal habitats. Sand fences might also slow their movement to a crawl, but geologists are still analyzing results for the optimum fence designs. Preventing sand dunes from overwhelming towns, villages, and agricultural areas has become a priority for the United Nations Environment Programme. Planting dunes with vegetation also helps to stabilise them.
 Dune habitats provide niches for highly specialized plants and animals, including numerous rare species and some endangered species. Due to widespread human population expansion, dunes face destruction through land development and recreational usages, as well as alteration to prevent the encroachment of sand onto inhabited areas. Some countries, notably the United States, Australia, Canada, New Zealand, the United Kingdom, Netherlands, and Sri Lanka have developed significant programs of dune protection through the use of sand dune stabilization. In the U.K., a Biodiversity Action Plan has been developed to assess dunes loss and to prevent future dunes destruction.
 Dunes can likely be found in any environment where there is a substantial atmosphere, winds, and dust to be blown. Dunes are common on Mars and in the equatorial regions of Titan.
 Titan's dunes include large expanses with modal lengths of about 20–30 km. The regions are not topographically confined, resembling sand seas. These dunes are interpreted to be longitudinal dunes whose crests are oriented parallel to the dominant wind direction, which generally indicates west-to-east wind flow. The sand is likely composed of hydrocarbon particles, possibly with some water ice mixed in.
 Dunes are a popular theme in science fiction, featuring in depictions of dry Desert planets appearing as early as the 1956 film Forbidden Planet and Frank Herbert's 1965 novel Dune. The environment of the desert planet Arrakis (also known as Dune) in the Dune franchise Dune in turn inspired the Star Wars franchise, which includes prominent theme of dunes on fictional planets such as Tatooine, Geonosis, and Jakku.