An O-type star is a hot, blue star of spectral type O in the Yerkes classification system employed by astronomers. They have surface temperatures in excess of 30,000 kelvins (K). Stars of this type have strong absorption lines of ionised helium, strong lines of other ionised elements, and hydrogen and neutral helium lines weaker than spectral type B.
Stars of this type are very rare, but because they are very bright, they can be seen at great distances; out of the 90 brightest stars as seen from Earth, 4 are type O. Due to their high mass, O-type stars end their lives rather quickly in violent supernova explosions, resulting in black holes or neutron stars. Most of these stars are young massive main sequence, giant, or supergiant stars, but also some central stars of planetary nebulae, old low-mass stars near the end of their lives, which typically have O-like spectra.