Process whereby a cell, bodily structure, or organism (animal or plant) receives or detects a gravity stimulus. gravity sensing plays an important role in the directional growth and development of an organism (gravitropism).