While the Sun isn't a planet, it is the most massive and densest object in our solar system, accounting for over 99% of the total mass.