While the Sun is much, much bigger than any planet in our solar system, it's not a planet because it doesn't orbit another star. Planets orbit stars.
The Sun is a giant ball of hot gas that produces its own light and heat. The planets in our solar system orbit around the Sun, getting their light and warmth from it.