Answer:
Stars are classified by their spectra (the elements that they absorb) and their temperature. There are seven main types of stars. In order of decreasing temperature, O, B, A, F, G, K, and M.
Step-by-step explanation:
O and B stars are uncommon but very bright. M stars are more common but dim.