It's a common misconception, but the Sun is actually a star that is much, much larger than the Earth. The Earth is a planet that orbits the Sun.
Think of it like this: imagine you're holding a small ball (Earth) and spinning it around a much larger ball (Sun). The small ball goes around the large ball, not the other way around.