Solar physics is the branch of astrophysics that specializes in the study of the Sun. It deals with detailed measurements that are possible only for our closest star. It intersects with many disciplines of pure physics, astrophysics, and computer science, including fluid dynamics, plasma physics including magnetohydrodynamics, seismology, particle physics, atomic physics, nuclear physics, stellar evolution, space physics, spectroscopy, radiative transfer, applied optics, signal processing, computer vision, computational physics, stellar physics and solar astronomy.
Because the Sun is uniquely situated for close-range observing (other stars cannot be resolved with anything like the spatial or temporal resolution that the Sun can), there is a split between the related discipline of observational astrophysics (of distant stars) and observational solar physics.
The study of solar physics is also important as it is believed that changes in the solar atmosphere and solar activity can have a major impact on Earth's climate. The Sun also provides a "physical laboratory" for the study of plasma physics. 
Ancient Chinese astronomers were observing solar phenomena (such as solar eclipses and visible sunspots) with the purpose of keeping track of calendars, which were based on lunar and solar cycles. Unfortunately, records kept before 720 BC are very brief and offer hardly any useful information. However, after 720 BC, 37 solar eclipses were noted over the course of 240 years. Babylonians were keeping a record of solar eclipses as well, with the oldest record originating from the ancient city of Ugarit, in modern day Syria. This record originates from about 1300 BC. No Egyptian documents have been found to specifically mention solar eclipses, but external sources, such as Greek manuscripts, make it obvious that the Egyptians had the knowledge to predict such events.
Astronomical knowledge flourished in the Islamic world during medieval times. Many observatories were built in cities from Damascus to Baghdad, where detailed astronomical observations were taken. Particularly, a few solar parameters were measured and detailed observations of the Sun were taken. Solar observations were taken with the purpose of navigation, but mostly for timekeeping. Islam requires its followers to pray five times a day, at specific position of the Sun in the sky. As such, accurate observations of the Sun and its trajectory on the sky were needed. In the late 10th century, Iranian astronomer Abu-Mahmud Khojandi built a massive observatory near Tehran. There, he took accurate measurements of a series of meridian transits of the Sun, which he later used to calculate the obliquity of the ecliptic. Following the fall of the Western Roman Empire, Western Europe was cut from all sources of ancient scientific knowledge, especially those written in Greek. This, plus de-urbanisation and diseases such as the Black Death led to a decline in scientific knowledge in Medieval Europe, especially in the early Middle Ages. During this period, observations of the Sun were taken either in relation to the zodiac, or to assist in building places of worship such as churches and cathedrals.
In astronomy, the renaissance period started with the work of Nicolaus Copernicus. He proposed that planets revolve around the Sun and not around the Earth, as it was believed at the time. This model is known as the heliocentric model. His work was later expanded by Johannes Kepler and Galileo Galilei. Particularly, Galilei used his new telescope to look at the Sun. In 1610, he discovered sunspots on its surface. In the autumn of 1611, Johannes Fabricius wrote the first book on sunspots, "De Maculis in Sole Observatis" (On the spots observed in the Sun).
Modern day solar physics is focused towards understanding the many phenomena observed with the help of modern telescopes and satellites. Of particular interest are the structure of the solar photosphere, the coronal heat problem and sunspots.
A major thrust of current (2009) effort in the field of solar physics is integrated understanding of the entire solar system including the Sun and its effects throughout interplanetary space within the heliosphere and on planets and planetary atmospheres. Studies of phenomena that affect multiple systems in the heliosphere, or that are considered to fit within a heliospheric context, are called heliophysics, a new coinage that entered usage in the early years of the current millennium.
The Solar Dynamics Observatory (SDO) was launched by NASA in February 2010 from Cape Canaveral. The main goals of the mission are understanding how solar activity arises and how it affects life on Earth by determining how the Sun's magnetic field is generated and structured and how the stored magnetic energy is converted and released into space.
The Solar & Heliospheric Observatory, SOHO, is a joint project between NASA and ESA that was launched in December 1995. It was launched to probe the interior of the Sun, make observations of the solar wind and phenomena associated with it and investigate the outer layers of the Sun.
A publicly funded mission led by the Japanese Aerospace Exploration Agency, the HINODE satellite, launched in 2006, consists of a coordinated set of optical, extreme ultraviolet and X-ray instruments. These investigate the interaction between the solar corona and the Sun's magnetic field.
The Advanced Technology Solar Telescope (ATST) is a solar telescope facility that is under construction in Maui. Twenty-two institutions are collaborating on the ATST project, with the main funding agency being the National Science Foundation.
The Extreme Ultraviolet Normal Incidence Spectrograph (EUNIS)is a two channel imaging spectrograph that first flew in 2006. It observes the solar corona with high spectral resolution. So far, it has provided information on the nature of coronal bright points, cool transients and coronal loop arcades. Data from it also helped calibrating SOHO and a few other telescopes.
- Mullan, Dermott J. (2009). Physics of the Sun: A First Course. Taylor & Francis. ISBN 978-1-4200-8307-1.
- Zirin, Harold (1988). Astrophysics of the Sun. Cambridge University Press. ISBN 0-521-30268-4.
- Solar Physics, Marshall Space Flight Center. "Why we study the Sun". NASA. Retrieved 28 January 2014.
- Sten, Odenwald. "Ancient eclipses in China". NASA Goddard Space Flight Center. Retrieved 17 January 2014.
- Littman, M.; Willcox, F; Espenak, F. (2000). Totality: Eclipses of the Sun (2nd ed.). Oxford University Press.
- Finch, Charles S. "Solar eclipses in the ancient Nile Valley". Eclipse 99. NASA. Retrieved 17 January 2014.
- "Arab and Islamic astronomy". StarTeach Astronomy Education. Retrieved 18 January 2014.
- Portal to the heritage of astronomy. "Theme: medieval astronomy in Europe". UNESCO. Retrieved 18 January 2014.
- Taylor Redd, Nola. "Nicolaus Copernicus biography: facts & discoveries". Space.com. Retrieved 18 January 2014.
- "Sunspots". The Galileo Project. Retrieved 18 January 2014.
- Wang, Pinghzi (2008). Solar physics research trends. Nova Science Publishers.
- Solar Physics Division. "Membership". American Astronomical Society. Retrieved 28 January 2014.
- SDO, Solar Dynamics Observatory. "About the SDO mission". NASA Goddard Space Flight Centre. Retrieved 17 January 2014.
- SOHO, Solar and Heliospheric Observatory. "About the SOHO mission". ESA; NASA. Retrieved 17 January 2014.
- Solar Physics Laboratory, Code 671. "HINODE". NASA Goddard Space Flight Centre. Retrieved 17 January 2014.
- "Hinode". NASA Marshall Space Flight Centre. Retrieved 17 January 2014.
- "Welcome to the ATST". NSO. Retrieved 17 January 2014.
- Sciences and Exploration Directorate, Code 600. "Extreme Ultraviolet Normal Incidence Spectrograph". NASA Goddard Space Flight Centre. Retrieved 17 January 2014.