Is the sun a planet or something else?

the sun is a star