A star is usually made of gas and a substance known as plasma. The Sun (Sol) is a star. A portion of the stars, however, those called white dwarfs and neutron stars, are composed of tightly packed atoms or subatomic particles and are much more dense than anything on Earth.
Stars range widely in size. The Sun’s radius is about 432,000 miles (695,500 kilometres). Because there are other stars that are much larger, the Sun is classified as a dwarf star. Stars classified as supergiants have a radius about 1,000 times that of the Sun. Neutron stars are the smallest stars and have a radius of only about 6 miles (10 kilometres).
The Sun is a single star. However, about 75 % of all stars are binary stars, two stars that orbit each other. The star nearest the Sun, Proxima Centauri, is part of a multiple-star system which includes Alpha Centauri A and Alpha Centauri B.
A star is so massive that its gravity pulls it in on itself and would cause it to collapse if there was nothing to oppose this gravity. The gravity is opposed by hydrostatic support created by the pressure of hot gas and radiation in the star's interior. The reason for the heat and radiation is nuclear reaction near the centre of the star. While these two forces oppose each other, the star is in the main sequence phase of its evolution. Stars contract or collapse in on themselves before the main sequence phase because they are not hot or dense enough for nuclear reactions to begin. Heat generated during contraction provides hydrostatic support and counteracts the pull of gravity. After the main sequence, most of the fuel is used up and the lack of sufficient hydrostatic support results in the star collapsing under its own gravity.
Characteristics of stars
Stars are categorised by their five main attributes;
- (1) brightness, (magnitude or luminosity);
- (2) colour;
- (3) surface temperature;
- (4) size (diameter);
- (5) mass (amount of matter).
Colour is dependent of surface temperature, brightness depends on surface temperature and the size. Mass affects how fast a star produces energy and effects surface temperature.
Astronomers use a diagram to show how these are all related, the Hertzsprung-Russell (H-R) diagram.
A star's luminosity is the measure of all energy it radiates each second (just as power is measured), usually understood to be at all wavelengths (bolometric luminosity or Lbol) and is measured as ergs per second. Star luminosity is commonly compared to the Sun whose luminosity is indicated as Lsun = 4 x 1033 ergs/s. 
The luminosity of a star is proportional to its temperature and its surface area. This means that a hotter star is more luminous than a cooler star if they have the same radius and a bigger star more luminous than a smaller star if they have the same temperature. This, in turn, means that a cool (red) giant star is more luminous than the Sun since it is much larger even though it is much cooler.
Stars radiate visible light but they also radiate energy the human eye can not see. The term for all radiation from a star is bolometric magnitude or bolometric flux which means the total energy out put over the entire electromagnetic spectrum, not just visible light.
The Sun has a luminosity of 400 trillion trillion watts (1024). Commonly in astronomy however, the luminosity is measured another way, by comparing it with the Sun. In this way Alpha Centauri is about 1.3 times as luminous as the Sun and Rigel is 150,000 times as luminous.
How bright a star looks is controlled by its actual brilliance and its distance from Earth. A star’s brilliance is the amount of visible light it produces. So a nearby star can be quite dim if it is not generating a great deal of light while a star much further away can be brighter because it actually is much brighter. The star Alpha Centauri appears brighter than another star called Rigel. It would seem that Alpha Centauri produces more energy. However, Rigel is actually much brighter but it is much further away from Earth. Alpha Centauri is about 4.4 light years away while Rigel is 1,400 light years from Earth.
There is also a luminosity-absolute magnitude comparison: 5 on the absolute magnitude scale equals 100 on the luminosity scale. So, if a star has an absolute magnitude of 2, it is 100 times as luminous as a star with an absolute magnitude of 7. A star with an absolute magnitude of -3 is 100 times as luminous as a star with an absolute magnitude is 2 and 10,000 times more luminous than a star with an absolute magnitude of 7. 
Luminosity is variable. Small changes may be responsible for the Little Ice Age of the 15th through 18th centuries when there may have been a decrease in the Sun's luminosity. One possible explanation of these changes is that they are triggered by modifications of the magnetic field produced in a star's interior. The mechanism of these modifications are yet to be revealed.
The Yerkes classification is a schema for classifying stars by their luminosity, also known as M-K established in 1943. This classification scheme measures surface gravities of stars by measuring the shape and nature of certain spectral lines.
With or without a telescope or binoculars, stars display a range of colours--reddish, yellowish and bluish--not very strong colour, but the variations are visible. The Sun is yellow, as is Pollux, Betelgeuse looks reddish and Rigel looks bluish. Star colour is a function of its surface temperature. Dark red stars have surface temperatures of about 2500 K and bright red stars reach about 3500 K. For yellow stars, e.g. the sun, surface temperature is approximately 5500 K. Blue stars are in the range of 10,000 to 50,000 K in surface temperature.
Since the human eye can only discern colours of the visible spectrum we do not see other wavelengths of the spectrum and stars emit a broad spectrum (bands) of colours. The colours in the visible spectrum, all the colours of the rainbow, can be viewed with a prism which separates the colour bands. Red is produced by particles of light (photons) with the least energy, all the way to violet, the photons with the most energy.
Including the electromagnetic band of seven visible colours, there are six bands of electromagnetic radiation in the electromagnetic spectrum, in range from the least energetic to the most energetic:
- radio waves
- infrared rays
- visible light
- ultraviolet rays
- X rays
- gamma rays
Studying the electromagnetic spectrum of stars is an important function of astronomy. Displaying the spectrum of a star shows dark bands called absorption lines, or Fraunhofer lines, where the radiation energy is weaker, caused by a cooler gas between the observer and the hotter emitting gas.
Occasionally there are also bright emission lines where radiation energy is especially strong.
Absorption lines exist because a chemical element or compound absorbs radiation with the same energy at that particular line on the spectrum. The Sun, for example, has absorption bands in the green range of the spectrum because there is calcium in the outer layer of the sun absorbing radiation at the same energy. While most stars have absorption lines in the visible spectrum, emission lines are more common in other bands of the spectrum. Nitrogen in a sun’s atmosphere, for example, will result in emission lines in the ultraviolet band. 
An example of a spectrum for a particular star is an embedded star in Herbig-Haro 46/47 as determined by the Spitzer Space Telescope (SST). This is a low mass protostar ejecting a jet of supersonic gas and creating a bipolar, or two-sided, outflow which interacts with the surrounding interstellar medium--bright, nebulous regions of gas and dust that are buried within a dark dust cloud. Elements and compounds present in the protostar as determined from the EM spectrum include water ice, methyl alcohol, silicates and carbon dioxide ice.
A star's mass is its most fundamental property. Mass governs the evolution of a star, what fuels it will burn, how long it will live, its colour. Determining a star's mass is an essential part of understanding a specific star. Knowing the mass of main sequence stars determines the answers to a number of problems, such as the mass content of a galaxy and the manner in which it evolves. The mass-luminosity relation (MLR) is a fundamental relationship in numerous areas of astronomy.
Stars have limited amounts of fuel. As each type of their fuel is consumed, the star must burn successively different types of fuel. In the beginning a star burns hydrogen in a process that synthesises helium. When the hydrogen is consumed, the helium is then burned and that in turn synthesises carbon. To continue to burn fuel produced at each stage, the star must be hot enough to convert progressively heavier elements. Smaller stars cannot generate sufficient heat to do so and eventually lose energy.
Eventually, as the fuel is consumed, stars less than 5 solar masses swell into red giants which eventually eject their outer layers forming planetary nebulae, leaving only the inner core, a white dwarf.
Stars have a beginning and an end. The Sun formed about 4.6 billion years ago and may last another 5 billion years. After that it will become a red giant. Later it will lose its outer layers and the remaining core of the star will become a white dwarf, eventually fading to a black dwarf, dense and without light.
Not all stars end this way. Some will cool off and without expanding to a red giant stage will become white dwarfs, then black dwarfs.
Another possibility for a small percentage of stars is a spectacular explosion called a supernova. The star explodes and loses most of its material. In an even smaller number of cases, the star explodes completely, leaving nothing - but this is a very rare occurrence.
Stars are grouped in galaxies with rare exceptions. Astronomical observations to date have recorded galaxies at distances of 12 to 16 billion light years from the Sun. The Sun is in the galaxy called the Milky Way (because of its appearance as a faint band of light encircling the night sky) which contains an estimated 100 billion stars. It is estimated that there are more than 100 billion galaxies in the universe and average about 100 billion stars per galaxy. This means that there is an estimated 10 billion, trillion stars in the universe (1021). From Earth however, without using binoculars or a telescope, it is only possible to see about 3,000 of them.
- The distance to Proxima Centauri is over 25 trillion miles (40 trillion kilometres) and light from Proxima Centauri must travel 4.2 years to travel to us before we can see it. One light-year, the distance that light travels in a vacuum in a year, equals about 5.88 trillion miles (9.46 trillion kilometres).
- What is a star? (2004) Imagine the Universe, Goddard Space Flight Center, NASA
-  NOrthern Arizona University
- Luminosity of a star Cornell University Astronomy
-  Northern Arizona University, College of Engineering and Natural Sciences.
- Cite error: Invalid
<ref>tag; no text was provided for refs named
- The simple magnetic field of an ultra-cool starDonati, J.F. & Cameron, A.C. (2006)
- Yerkes Observatory
- The physical basis of luminosity classification in the late A-, F-, and early G-type Stars. I. Precise spectral types for 372 stars Gray, R.O., Napier, M.G., Winkler, L.I. (2001) The Astronomical Journal April. 121:2148-2158. The American Astronomical Society; MKK are the initials of the authors Morgan, William W., Keenan, Philip C. and Kellman, Edith
- Star temperatures are given in units called kelvin. One kelvin (1 K) equals exactly 1 degree Celsius (or 1.8 Fahrenheit). Kelvin and Celsius scales start at different points. The Kelvin scale starts at -273.15 C: 0 K equals -273.15 degrees C, or -459.67 degrees F. A temperature of 0 degrees C (32 degrees F) equals 273.15 K.
- red, orange, yellow, green, blue, indigo and violet
- least energetic also corresponds with the lowest frequency and the longest wave length and highest energy corresponds with the highest frequency and shortest wavelength
- a common instrument in this sort of analysis is an interferometer
- The Sun in Time Solar Physics, Marshal Space Flight Center, NASA
- Electromagnetic spectrum (2006). Imagine the Universe. High Energy Astrophysics Science Archive Research Center, Goddard Space Flight Center, NASA
- What is the electromagnetic spectrum? Landsat 7, Goddard Space Flight Center, NASA
- PIA04940: Spectrum from Embedded Star in Herbig-Haro 46/47 Photo Journal, Jet Propulsion Lab, California University of Technology, NASA
- A MASSIF Effort To Determine The Mass-Luminosity Relation For Stars of Various Ages, Metallicities, and Evolution StatesTodd J. Henry (Principle investigator, Georgia State Univ.). Masses and Stellar Systems with Interferometry Team
- Stars (2003) Curious about Astronomy? Cornell University
- Supernovas and remnants Chandra X-ray Observatory
- 'Shot in the Dark' Star Explosion Stuns Astronomers NASA