The solar wind is a stream of charged particles released from the upper atmosphere of the Sun, called the corona. This plasma mostly consists of electrons, protons and alpha particles with kinetic energy between 0.5 and 10 keV. The composition of the solar wind plasma also includes a mixture of materials found in the solar plasma: trace amounts of heavy ions and atomic nuclei such as C, N, O, Ne, Mg, Si, S, and Fe. There are also rarer traces of some other nuclei and isotopes such as P, Ti, Cr, 54Fe and 56Fe, and 58Ni, 60Ni, and 62Ni.  Superimposed with the solar-wind plasma is the interplanetary magnetic field.  The solar wind varies in density, temperature and speed over time and over solar latitude and longitude. Its particles can escape the Sun's gravity because of their high energy resulting from the high temperature of the corona, which in turn is a result of the coronal magnetic field. The boundary separating the corona from the solar wind is called the Alfvén surface.
At a distance of more than a few solar radii from the Sun, the solar wind reaches speeds of 250–750 km/ s and is supersonic,  meaning it moves faster than the speed of the fast magnetosonic wave. The flow of the solar wind is no longer supersonic at the termination shock. Other related phenomena include the aurora (northern and southern lights), the plasma tails of comets that always point away from the Sun, and geomagnetic storms that can change the direction of magnetic field lines.
The existence of particles flowing outward from the Sun to the Earth was first suggested by British astronomer Richard C. Carrington. In 1859, Carrington and Richard Hodgson independently made the first observations of what would later be called a solar flare. This is a sudden, localised increase in brightness on the solar disc, which is now known  to often occur in conjunction with an episodic ejection of material and magnetic flux from the Sun's atmosphere, known as a coronal mass ejection. The following day, a powerful geomagnetic storm was observed, and Carrington suspected that there might be a connection; the geomagnetic storm is now attributed to the arrival of the coronal mass ejection in near-Earth space and its subsequent interaction with the Earth's magnetosphere. Irish academic George FitzGerald later suggested that matter was being regularly accelerated away from the Sun, reaching the Earth after several days. 
In 1910, British astrophysicist Arthur Eddington essentially suggested the existence of the solar wind, without naming it, in a footnote to an article on Comet Morehouse.  Eddington's proposition was never fully embraced, even though he had also made a similar suggestion at a Royal Institution address the previous year, in which he had postulated that the ejected material consisted of electrons, whereas in his study of Comet Morehouse he had supposed them to be ions. 
The idea that the ejected material consisted of both ions and electrons was first suggested by Norwegian scientist Kristian Birkeland.  His geomagnetic surveys showed that auroral activity was almost uninterrupted. As these displays and other geomagnetic activity were being produced by particles from the Sun, he concluded that the Earth was being continually bombarded by "rays of electric corpuscles emitted by the Sun".  He proposed in 1916 that, "From a physical point of view it is most probable that solar rays are neither exclusively negative nor positive rays, but of both kinds"; in other words, the solar wind consists of both negative electrons and positive ions.  Three years later, in 1919, British physicist Frederick Lindemann also suggested that the Sun ejects particles of both polarities: protons as well as electrons. 
Around the 1930s, scientists had concluded that the temperature of the solar corona must be a million degrees Celsius because of the way it extended into space (as seen during a total solar eclipse). Later spectroscopic work confirmed this extraordinary temperature to be the case. In the mid-1950s, British mathematician Sydney Chapman calculated the properties of a gas at such a temperature and determined that the corona being such a superb conductor of heat, it must extend way out into space, beyond the orbit of Earth. Also in the 1950s, German astronomer Ludwig Biermann became interested in the fact that the tail of a comet always points away from the Sun, regardless of the direction in which the comet is travelling. Biermann postulated that this happens because the Sun emits a steady stream of particles that pushes the comet's tail away.  German astronomer Paul Ahnert is credited (by Wilfried Schröder) as being the first to relate solar wind to the direction of a comet's tail based on observations of the comet Whipple–Fedke (1942g). 
American astrophysicist Eugene Parker realised that heat flowing from the Sun in Chapman's model, and the comet tail blowing away from the Sun in Biermann's hypothesis, had to be the result of the same phenomenon which he termed the "solar wind".   In 1957, Parker showed that although the Sun's corona is strongly attracted by solar gravity, it is such a good conductor of heat that it is still very hot at large distances from the Sun. As solar gravity weakens with increasing distance from the Sun, the outer coronal atmosphere is able to escape supersonically into interstellar space. Parker was also the first person to notice that the weakening influence of the Sun's gravity has the same effect on hydrodynamic flow as a de Laval nozzle, inciting a transition from subsonic to supersonic flow.  There was strong opposition to Parker's hypothesis on the solar wind; the paper he submitted to The Astrophysical Journal in 1958  was rejected by two reviewers, before being accepted by the editor Subrahmanyan Chandrasekhar. 
In January 1959, the Soviet spacecraft Luna 1 first directly observed the solar wind and measured its strength,    using hemispherical ion traps. The discovery, made by Konstantin Gringauz, was verified by Luna 2, Luna 3, and the more distant measurements of Venera 1. Three years later, a similar measurement was performed by American geophysicist Marcia Neugebauer and collaborators using the Mariner 2 spacecraft. 
The first numerical simulation of the solar wind in the solar corona, including closed and open field lines, was performed by Pneuman and Kopp in 1971. The magnetohydrodynamics equations in steady state were solved iteratively starting with an initial dipolar configuration. 
In the late 1990s, the Ultraviolet Coronal Spectrometer (UVCS) instrument on board the SOHO spacecraft observed the acceleration region of the fast solar wind emanating from the poles of the Sun and found that the wind accelerates much faster than can be accounted for by thermodynamic expansion alone. Parker's model predicted that the wind should make the transition to supersonic flow at an altitude of about four solar radii (approx. 3,000,000 km) from the photosphere (surface); but the transition (or "sonic point") now appears to be much lower, perhaps only one solar radius (approx. 700,000 km) above the photosphere, suggesting that some additional mechanism accelerates the solar wind away from the Sun. The acceleration of the fast wind is still not understood and cannot be fully explained by Parker's theory. However, the gravitational and electromagnetic explanation for this acceleration is detailed in an earlier paper by 1970 Nobel laureate in Physics, Hannes Alfvén.  
The STEREO mission was launched in 2006 to study coronal mass ejections and the solar corona, using stereoscopy from two widely separated imaging systems. Each STEREO spacecraft carried two heliospheric imagers: highly sensitive wide-field cameras capable of imaging the solar wind itself, via Thomson scattering of sunlight off of free electrons. Movies from STEREO revealed the solar wind near the ecliptic, as a large-scale turbulent flow.
The Voyager 1 probe reached the end of the solar-wind "bubble" in 2012, at which time the detection of solar wind dropped off precipitously. A similar observation was made six years later by Voyager 2.
In 2018, NASA launched the Parker Solar Probe, named in honor of American astrophysicist Eugene Parker, on a mission to study the structure and dynamics of the solar corona, in an attempt to understand the mechanisms that cause particles to be heated and accelerated as solar wind. During its seven-year mission, the probe will make twenty-four orbits of the Sun, passing further into the corona with each orbit's perihelion, ultimately passing within 0.04 astronomical units of the Sun's surface. It is the first NASA spacecraft named for a living person, and Parker, at age 91, was on hand to observe the launch. 
While early models of the solar wind relied primarily on thermal energy to accelerate the material, by the 1960s it was clear that thermal acceleration alone cannot account for the high speed of solar wind. An additional unknown acceleration mechanism is required and likely relates to magnetic fields in the solar atmosphere. 
The Sun's corona, or extended outer layer, is a region of plasma that is heated to over a megakelvin. As a result of thermal collisions, the particles within the inner corona have a range and distribution of speeds described by a Maxwellian distribution. The mean velocity of these particles is about 145 km/s, which is well below the solar escape velocity of 618 km/s. However, a few of the particles achieve energies sufficient to reach the terminal velocity of 400 km/s, which allows them to feed the solar wind. At the same temperature, electrons, due to their much smaller mass, reach escape velocity and build up an electric field that further accelerates ions away from the Sun. 
The total number of particles carried away from the Sun by the solar wind is about 1.3×1036 per second.  Thus, the total mass loss each year is about (2–3)×10−14 solar masses,  or about 1.3–1.9 Million tonnes per second. This is equivalent to losing a mass equal to the Earth every 150 million years.  However, since the Sun's formation, only about 0.01% of its initial mass has been lost through the solar wind.  Other stars have much stronger stellar winds that result in significantly higher mass-loss rates.
The solar wind is observed to exist in two fundamental states, termed the slow solar wind and the fast solar wind, though their differences extend well beyond their speeds. In near-Earth space, the slow solar wind is observed to have a velocity of 300–500 km/s, a temperature of ~100 MK and a composition that is a close match to the corona. By contrast, the fast solar wind has a typical velocity of 750 km/s, a temperature of 800 MK and it nearly matches the composition of the Sun's photosphere.  The slow solar wind is twice as dense and more variable in nature than the fast solar wind.  
The slow solar wind appears to originate from a region around the Sun's equatorial belt that is known as the "streamer belt", where coronal streamers are produced by magnetic flux open to the heliosphere draping over closed magnetic loops. The exact coronal structures involved in slow solar wind formation and the method by which the material is released is still under debate.    Observations of the Sun between 1996 and 2001 showed that emission of the slow solar wind occurred at latitudes up to 30–35° during the solar minimum (the period of lowest solar activity), then expanded toward the poles as the solar cycle approached maximum. At solar maximum, the poles were also emitting a slow solar wind. 
The fast solar wind originates from coronal holes,  which are funnel-like regions of open field lines in the Sun's magnetic field.  Such open lines are particularly prevalent around the Sun's magnetic poles. The plasma source is small magnetic fields created by convection cells in the solar atmosphere. These fields confine the plasma and transport it into the narrow necks of the coronal funnels, which are located only 20,000 km above the photosphere. The plasma is released into the funnel when these magnetic field lines reconnect. 
Near the Earth's orbit at 1 Astronomical Unit (AU) the plasma flows at speeds ranging from 250–750 km/s (155–404 mi/s) with a density ranging between 3–10 particles per cubic centimeter and temperature ranging from 104 to 106 degrees Kelvin. 
On average, the plasma density decreases with the square of the distance from the Sun while the velocity is nearly constant, see Figure 4.2. 
Both the fast and slow solar wind can be interrupted by large, fast-moving bursts of plasma called coronal mass ejections, or CMEs. CMEs are caused by a release of magnetic energy at the Sun. CMEs are often called "solar storms" or "space storms" in the popular media. They are sometimes, but not always, associated with solar flares, which are another manifestation of magnetic energy release at the Sun. CMEs cause shock waves in the thin plasma of the heliosphere, launching electromagnetic waves and accelerating particles (mostly protons and electrons) to form showers of ionizing radiation that precede the CME. 
When a CME impacts the Earth's magnetosphere, it temporarily deforms the Earth's magnetic field, changing the direction of compass needles and inducing large electrical ground currents in Earth itself; this is called a geomagnetic storm and it is a global phenomenon. CME impacts can induce magnetic reconnection in Earth's magnetotail (the midnight side of the magnetosphere); this launches protons and electrons downward toward Earth's atmosphere, where they form the aurora.
CMEs are not the only cause of space weather. Different patches on the Sun are known to give rise to slightly different speeds and densities of wind depending on local conditions. In isolation, each of these different wind streams would form a spiral with a slightly different angle, with fast-moving streams moving out more directly and slow-moving streams wrapping more around the Sun. Fast-moving streams tend to overtake slower streams that originate westward of them on the Sun, forming turbulent co-rotating interaction regions that give rise to wave motions and accelerated particles, and that affect Earth's magnetosphere in the same way as, but more gently than, CMEs.
Magnetic switchbacks are sudden reversals in the magnetic field of the solar wind.  They can also be described as traveling disturbances in the solar wind that caused the magnetic field to bend back on itself. They were first observed by the NASA-ESA mission Ulysses, the first spacecraft to fly over the Sun's poles.   Parker Solar Probe observed first switchbacks in 2018. 
Over the Sun's lifetime, the interaction of its surface layers with the escaping solar wind has significantly decreased its surface rotation rate.  The wind is considered responsible for comets' tails, along with the Sun's radiation.  The solar wind contributes to fluctuations in celestial radio waves observed on the Earth, through an effect called interplanetary scintillation. 
Where the solar wind intersects with a planet that has a well-developed magnetic field (such as Earth, Jupiter or Saturn), the particles are deflected by the Lorentz force. This region, known as the magnetosphere, causes the particles to travel around the planet rather than bombarding the atmosphere or surface. The magnetosphere is roughly shaped like a hemisphere on the side facing the Sun, then is drawn out in a long wake on the opposite side. The boundary of this region is called the magnetopause, and some of the particles are able to penetrate the magnetosphere through this region by partial reconnection of the magnetic field lines. 
The solar wind is responsible for the overall shape of Earth's magnetosphere. Fluctuations in its speed, density, direction, and entrained magnetic field strongly affect Earth's local space environment. For example, the levels of ionizing radiation and radio interference can vary by factors of hundreds to thousands; and the shape and location of the magnetopause and bow shock wave upstream of it can change by several Earth radii, exposing geosynchronous satellites to the direct solar wind. These phenomena are collectively called space weather.
From the European Space Agency's Cluster mission, a new study has taken place that proposes that it is easier for the solar wind to infiltrate the magnetosphere than previously believed. A group of scientists directly observed the existence of certain waves in the solar wind that were not expected. A recent study shows that these waves enable incoming charged particles of solar wind to breach the magnetopause. This suggests that the magnetic bubble forms more as a filter than a continuous barrier. This latest discovery occurred through the distinctive arrangement of the four identical Cluster spacecraft, which fly in a controlled configuration through near-Earth space. As they sweep from the magnetosphere into interplanetary space and back again, the fleet provides exceptional three-dimensional insights on the phenomena that connect the sun to Earth.
The research characterised variances in formation of the interplanetary magnetic field (IMF) largely influenced by Kelvin–Helmholtz instability (which occur at the interface of two fluids) as a result of differences in thickness and numerous other characteristics of the boundary layer. Experts believe that this was the first occasion that the appearance of Kelvin–Helmholtz waves at the magnetopause had been displayed at high latitude downward orientation of the IMF. These waves are being seen in unforeseen places under solar wind conditions that were formerly believed to be undesired for their generation. These discoveries show how Earth's magnetosphere can be penetrated by solar particles under specific IMF circumstances. The findings are also relevant to studies of magnetospheric progressions around other planetary bodies. This study suggests that Kelvin–Helmholtz waves can be a somewhat common, and possibly constant, instrument for the entrance of solar wind into terrestrial magnetospheres under various IMF orientations. 
The solar wind affects other incoming cosmic rays interacting with planetary atmospheres. Moreover, planets with a weak or non-existent magnetosphere are subject to atmospheric stripping by the solar wind.
Venus, the nearest and most similar planet to Earth, has 100 times denser atmosphere, with little or no geo-magnetic field. Space probes discovered a comet-like tail that extends to Earth's orbit. 
Earth itself is largely protected from the solar wind by its magnetic field, which deflects most of the charged particles; however, some of the charged particles are trapped in the Van Allen radiation belt. A smaller number of particles from the solar wind manage to travel, as though on an electromagnetic energy transmission line, to the Earth's upper atmosphere and ionosphere in the auroral zones. The only time the solar wind is observable on the Earth is when it is strong enough to produce phenomena such as the aurora and geomagnetic storms. Bright auroras strongly heat the ionosphere, causing its plasma to expand into the magnetosphere, increasing the size of the plasma geosphere and injecting atmospheric matter into the solar wind. Geomagnetic storms result when the pressure of plasmas contained inside the magnetosphere is sufficiently large to inflate and thereby distort the geomagnetic field.
Although Mars is larger than Mercury and four times farther from the Sun, it is thought that the solar wind has stripped away up to a third of its original atmosphere, leaving a layer 1/100th as dense as the Earth's. It is believed the mechanism for this atmospheric stripping is gas caught in bubbles of the magnetic field, which are ripped off by the solar wind.  In 2015 the NASA Mars Atmosphere and Volatile Evolution ( MAVEN) mission measured the rate of atmospheric stripping caused by the magnetic field carried by the solar wind as it flows past Mars, which generates an electric field, much as a turbine on Earth can be used to generate electricity. This electric field accelerates electrically charged gas atoms, called ions, in Mars' upper atmosphere and shoots them into space.  The MAVEN mission measured the rate of atmospheric stripping at about 100 grams (≈1/4 lb) per second. 
Mercury, the nearest planet to the Sun, bears the full brunt of the solar wind, and since its atmosphere is vestigial and transient, its surface is bathed in radiation.
Mercury has an intrinsic magnetic field, so under normal solar wind conditions, the solar wind cannot penetrate its magnetosphere and particles only reach the surface in the cusp regions. During coronal mass ejections, however, the magnetopause may get pressed into the surface of the planet, and under these conditions, the solar wind may interact freely with the planetary surface.
The Earth's Moon has no atmosphere or intrinsic magnetic field, and consequently its surface is bombarded with the full solar wind. The Project Apollo missions deployed passive aluminum collectors in an attempt to sample the solar wind, and lunar soil returned for study confirmed that the lunar regolith is enriched in atomic nuclei deposited from the solar wind. These elements may prove useful resources for future lunar colonies. 
Researchers were unsure exactly where the Alfvén critical surface of the Sun lay. Based on remote images of the corona, estimates had put it somewhere between 10 to 20 solar radii from the surface of the Sun. On April 28, 2021, during its eighth flyby of the Sun, NASA's Parker Solar Probe encountered the specific magnetic and particle conditions at 18.8 solar radii that indicated that it penetrated the Alfvén surface. 
The solar wind "blows a bubble" in the interstellar medium (the rarefied hydrogen and helium gas that permeates the galaxy). The point where the solar wind's strength is no longer great enough to push back the interstellar medium is known as the heliopause and is often considered to be the outer border of the Solar System. The distance to the heliopause is not precisely known and probably depends on the current velocity of the solar wind and the local density of the interstellar medium, but it is far outside Pluto's orbit. Scientists hope to gain perspective on the heliopause from data acquired through the Interstellar Boundary Explorer (IBEX) mission, launched in October 2008.
The end of the heliosphere is noted as one of the ways defining the extent of the Solar System, along with the Kuiper Belt, and finally the radius at which of the Sun's gravitational influence is matched by other stars.  The maximum extent of that influence has been estimated at between 50,000 AU and 2 light-years, compared to the edge of the heliopause (the outer edge of the heliosphere), which has been detected to end about 120 AU by the Voyager 1 spacecraft. 
The Voyager 2 spacecraft crossed the shock more than five times between August 30 and December 10, 2007.  Voyager 2 crossed the shock about a Tm closer to the Sun than the 13.5 Tm distance where Voyager 1 came upon the termination shock.   The spacecraft moved outward through the termination shock into the heliosheath and onward toward the interstellar medium.
Fox, Karen C. (2012) "NASA Study Using Cluster Reveals New Insights Into Solar Wind" NASA.
S.Cuperman and N. Metzler, Role of fluctuations in the interplanetary magnetic field on the heat conduction in the Solar Wind.J.Geophys. Res. 78 (16), 3167–3168, 1973.
S. Cuperman and N. Metzler. Astrophys. J., 182 (3), 961–975, 1973.
S. Cuperman and N. Metzler, Solution of 3-fluid model equations with anomalous transport coefficients for thequiet Solar Wind. Astrophys.J., 196 (1) 205–219, 1975
S. Cuperman, N. Metzler and M. Spygelglass, Confirmation of known numerical solutions for the quiet Solar Wind equations. Astrophys. J., 198 (3), 755–759, 1975.
S.Cuperman and N. Metzler, Relative magnitude of streaming velocities of alpha particles and protons at 1AU. Astrophys. and Space Sci. 45 (2) 411–417,1976.
N. Metzler. A multi-fluid model for stellar winds. Proceedings of the L.D.de Feiter Memorial Symposium on the Study of Traveling Interplanetary Phenomena. AFGL-TR-77-0309, Air Force Systems Command, USAF, 1978.
N. Metzler and M. Dryer, A self-consistent solution of the three-fluid model of the Solar Wind. Astrophys. J., 222 (2), 689–695, 1978.
S. Cuperman and N. Metzler, Comments on Acceleration of Solar Wind He++3 effects of Resonant and nonresonant interactions with transverse waves. J. Geophys. Res. 84 (NA5), 2139–2140 (1979)
N. Metzler, S. Cuperman, M. Dryer and P. Rosenau, A time-dependent two-fluid model with thermal conduction for Solar Wind. Astrophys. J., 231 (3) 960–976, 1979.