Answer:
M, K, G, F, A, B and O stars.
Explanation:
There seven main types of star i.e. M, K, G, F, A, B and O. M stars are also known as coldest stars while on he other hand, O stars are considered as the hottest star. K star is hotter than M star, G star is hotter than K star. F star is hotter than G star, A star is hotter than F star, B star is hotter than A star and O star is the hottest star among other stars. G star is the star which is present near the planet earth.