The stars called white or degenerate dwarfs are made up mainly of degenerate matter ; typically carbon and oxygen nuclei in a sea of degenerate electrons. White dwarfs arise from the cores of main-sequence stars and are therefore very hot when they are formed. As they cool they will redden and dim until they eventually become dark black dwarfs. White dwarfs were observed in the 19th century, but the extremely high densities and pressures they contain were not explained until the 1920s.