What is the difference between a planet and a star?

A star is a huge ball of hot glowing gas, like the Sun, and a planet is a world, like Earth. Stars produce their own light; they undergo nuclear reactions that burn hydrogen in their cores. But planets are lit by light from the Sun. When you look