Gravity is caused by the attraction of one mass to another. Seeing as the sun is many times the size of the earth, it has a larger gravitational pull. seeing as the earth is many times our size, it has a stronger pull than us. No fancy ass equations, just logic.