Why do stars shine?

Stars are giant balls of hot gas that make their own light, like enormous campfires in the sky.