Like people, stars are all different. Similarly, they can be roughly grouped based on a wide range of characteristics.
Size, mass, temperature, colour, luminosity, composition etc. all help to group and classify stars.