human
I've always been fascinated by the stars. What are the different types of stars and how do they form?
assistant
Stars can be divided into two categories - main sequence stars and white dwarf stars. Main sequence stars are those that have a stable core made up of hydrogen and helium, which produces energy through nuclear fusion reactions. White dwarf stars are smaller than our sun and are composed mainly of carbon and oxygen. They are the result of the star's core running out of fuel and collapsing under its own gravity.