Why are the moon and earth able to exert a force on each other

A.the Force of static electricity holds the two objects together in orbit

B.The force of tension holds the two objects together in orbit

C. Gravity allows them to be in direct contact with each other

D.Gravity is a force the X at a distance