Use the Law of Motion to find a symbolic expression for the mass of the Sun in terms of other physical quantities you can look up. Plug in numbers and check if your answer is close to the measured mass of the Sun!
An orbiting object can often be treated as undergoing uniform circular motion, in which case the only force responsibly for the circular motion is the gravitational force between the orbiting and orbited object.
where \(G\) is the universal gravitational constant and \(M\) is the mass of the object that is being orbited. This law assumes that the mass of the orbiting object is much smaller than the mass of the object being orbited.