Let's consider what gravity is and how it varies with distance using the law of I. Newton and the general theory of relativity of A. Einstein (we can say we will compare them).