* Stars are incredibly hot, generating their own light and heat through nuclear fusion. They are far hotter than any planet.
* Some planets are considered "hot Jupiters", which are gas giants orbiting very close to their stars. These planets can reach incredibly high temperatures due to the intense radiation from their stars, but they still aren't as hot as the stars themselves.
So, while stars are incredibly hot, some planets can be very hot as well, particularly those orbiting close to their stars.