Stars are the fundamental building blocks of galaxies. Stars were formed when the galaxies were formed during the Big Bang. Stars produce heat, light, ultraviolet rays, x-rays, and other forms of radiation. They are largely composed of gas and plasma (a super heated state of matter).
The brightness of a star depends on their intensity and the distance from the Earth. Stars also appear to be in different colours depending on their temperature. Hot stars are white or blue, whereas cooler stars are orange or red in colour