Question: what type of electromagnetic radiation do stars emit?
Answer: Most stars emit the bulk of their electromagnetic energy as visible light, that sliver of the spectrum our eyes can see. Hotter stars emit higher energy light, so the color of the star indicates how hot it is.