why do we have to use point mass for the applications of newton's law of universal gravitational?
It's just for simplification of calculations
Of course, you can use integration to sum up the gravitational force from each atom, but the end results is that you will get the same answer :)