The gravitational constant $G$ appears in Newton's Law of Universal Gravitation, which states that the force ($F$) between two masses ($m_1$, $m_2$) separated by a distance ($r$) is given by $F = G \frac{m_1 m_2}{r^2}$.