According to the universal law of gravitation, the force of attraction between the Earth and the Sun is given by
𝐹 = {𝐺 × 𝑀_𝑆𝑢𝑛 × 𝑀_𝐸𝑎𝑟𝑡ℎ \over 𝑅^2}
Where,
MSun = Mass of the Sun = 2 × 1030 kg
MEarth = Mass of the Earth = 6 × 1024 kg
R = Average distance between the Earth and the Sun = 1.5 × 1011 m
G = Universal gravitational constant = 6.7 × 10−11 Nm2 kg−2
𝐹 = {6.7 × 10^{−11} × 2 × 10^{30} × 6 × 10^{24} \over ({1.5 \times 10^{11})^2}} = 3.57 × 1022 𝑁
Hence, the force of gravitation between the Earth and the Sun is 3.57 × 1022 N