Star/Legends

A star was an enormous sphere of immensely hot hydrogen and helium that underwent nuclear fusion to produce heat and light (in essence, it was a giant ball of plasma). Systems of planets would usually form around stars when the gas and dust around them became stable enough. Stars could come in all sorts of sizes, colors, and temperatures. Most planets were seen orbiting medium mass orange-yellow stars, often called suns.

It was estimated that there were four hundred billion stars in the galaxy. There were 7.1 billion habitable stars in the known galaxy, which made up about 3.2 billion habitable star systems. This means that many systems contained two or more stars. Red dwarfs accounted for approximately 70 percent of the galaxy's stars.

Types of stars
There are seven types of main sequence stars in the galaxy:


 * "O" stars were blue and hot, and had a lifespan of less than one million years. There were approximately one hundred million habitable O stars in the galaxy. Example: Garnib.


 * "B" stars were white-blue and hot, and had a lifespan of ten million years. There were approximately one hundred million habitable B stars in the galaxy. Example: Kessa.


 * "A" stars were white and hot, and had a lifespan of four hundred million to two billion years. There were approximately one hundred million habitable A stars in the galaxy. Example: Colu.


 * "F" stars were yellow-white and medium-temperature, and had a lifespan of four billion years. There were approximately one hundred million habitable F stars in the galaxy. Example: Ropagi.


 * "G" stars were yellow and medium-temperature, and had a lifespan of ten billion years. There were approximately two billion habitable G stars in the galaxy. Example: Corell.


 * "K" stars were orange and cool, and had a lifespan of sixty billion years. There were approximately 3.75 billion habitable K stars in the galaxy. Example: Yavin.


 * "M" stars were red and cool, and had a lifespan of approximately one hundred trillion years. They were also called red dwarfs. There were approximately seven hundred million habitable M stars in the galaxy. Example: Barab.

With O stars being the biggest in the sequence, the size decreased gradually to the smallest M stars.

In addition to the main sequence stars, 10 percent of all stars in the galaxy were non-main sequence, of which five hundred million were habitable.

The non-main sequence stars include:

Pre-main sequence (smaller than M stars):
 * Brown dwarf. Example: Doornik-1142.
 * Protostar. Example: Black Bantha.

Post main-sequence (bigger than O stars):
 * Red giant. Example: Sokor.
 * Blue giant. Example: Ku'Bakai.
 * Red supergiant. Example: Primus Goluud.

Compact stars:
 * White dwarf. Example: Ardos.
 * Black dwarf. Example: The star of the Ring.
 * Neutron star. Example: Din Pulsar.
 * Black hole. Example: The Maw.

Behind the scenes
The OBAFGKM sequence is the same classification system used for identifying stars from Earth.

Appearances

 * Star Wars Episode I: The Phantom Menace
 * Star Wars Episode II: Attack of the Clones
 * Star Wars Episode III: Revenge of the Sith
 * Star Wars: Empire at War
 * Star Wars Episode IV: A New Hope
 * Star Wars: Empire at War: Forces of Corruption
 * Star Wars Episode V: The Empire Strikes Back
 * Star Wars Episode VI: Return of the Jedi
 * X-wing: Rogue Squadron
 * X-wing: Wedge's Gamble
 * X-wing: The Krytos Trap
 * X-wing: The Bacta War
 * X-wing: Wraith Squadron
 * X-wing: Iron Fist
 * X-wing: Solo Command
 * X-wing: Isard's Revenge
 * X-wing: Starfighters of Adumar
 * The Crystal Star
 * Crosscurrent