According to the universal law of gravitation, the force of attraction between the Earth and the Sun is given by

𝐹 = {𝐺 × 𝑀_𝑆𝑢𝑛 × 𝑀_𝐸𝑎𝑟𝑡ℎ \over 𝑅^2}

Where,

M_{Sun} = Mass of the Sun = 2 × 10^{30} kg

M_{Earth} = Mass of the Earth = 6 × 10^{24} kg

R = Average distance between the Earth and the Sun = 1.5 × 10^{11} m

G = Universal gravitational constant = 6.7 × 10^{−11} Nm^{2} kg^{−2}

𝐹 = {6.7 × 10^{−11} × 2 × 10^{30} × 6 × 10^{24} \over ({1.5 \times 10^{11})^2}} = 3.57 × 10^{22} 𝑁

Hence, the force of gravitation between the Earth and the Sun is 3.57 × 10^{22} N