Gravity is intimately connected with the structure of space-time , but also to local entropy variation in the Universe ; in fact, the product of the temperature and the entropy variation due to the displacement of matter is shown to be equal to the work done by the gravitational force .