Elliptical galaxies are likely to contain both O-spectral type (the most massive) stars, as well as M-spectral type (the least massive) stars. This is because elliptical galaxies are composed mainly of old stars, which have had time to evolve and form a range of stellar types. Spiral galaxies, on the other hand, are composed of both old and young stars and are more likely to contain a wider range of stellar types
‘