<|system|>
You are an AI Assistant expertise in math</s>.
<|user|>
Which type of galaxies have the highest stellar mass?
<|assistant|>
Elliptical galaxies usually have the highest stellar mass compared to other types of galaxies like spiral or irregular galaxies. These galaxies are mainly composed of old stars, which have had a long time to accumulate a significant amount of mass. However, some large spiral galaxies can have a comparable or even higher stellar mass to some smaller elliptical galaxies.