The English used in this article or section may not be easy for everybody to understand.
General relativity is a theory of space and time. The theory was published by Albert Einstein in 1915. The central idea of general relativity is that space and time are two aspects of spacetime. Spacetime is curved when there is matter, energy, and momentum resulting in what we perceive as gravity. The links between these forces are shown in the Einstein field equations.
A central idea in general relativity is the "principle of equivalence." An example is that two people, one in an elevator sitting on the surface of the earth, and the other in an elevator in outer space accelerating at 9.8 m/s2, will each observe the same behavior of an object they drop from their hand. The object will accelerate to the floor at 9.8 m/s2 in either case, making it impossible for either to distinguish whether or not they are at rest in a gravitational field or accelerating upward at one g. Other versions of this type of "thought experiment" were used to show that light would curve in an accelerating frame of reference. There are several forms of the equivalence principle. These include: Newton's equivalence principle, the weak equivalence principle, the gravitational weak equivalence principle, Einstein's equivalence principle and the strong equivalence principle.
The Sun can be seen as this kind of valley in spacetime, and one of the other objects in the valley (i.e, spacetime) is the Earth. The Earth does not roll directly towards the Sun (or ball) because it is moving too fast. The force pulling the Earth towards the sun is about the same as a second force. This second force is called the centrifugal force. The centrifugal force exists because the Earth moves sideways. This sideways motion makes the distance between the Earth and Sun increase. Since the Earth is being pulled towards the sun and moving away at the same time, it stays at about the same distance. This is also how the Moon orbits the earth. In this second case, Earth is the ball and the Moon is the object. However, this valley example to demonstrate Gravity is insufficient because spacetime fabric is actually Four Dimensional, whereas valley's example implies two dimensional spacetime. Sun and other objects with mass curves four dimensional spacetime fabric. Valley example is just analogy and not 100% reality. 
General relativity has predicted many things which were later seen. These include:
- As light gets closer to the sun, it bends towards the sun twice as much as classical physics (the system used before general relativity) predicts. This was seen in an experiment led by Arthur Eddington in 1919. When scientists saw his experiment, they started to take general relativity seriously.
- The perihelion of the planet Mercury rotates along its orbit more than is expected under Newtonian physics. General relativity accounts for the difference between what is seen and what is expected without it.
- Redshift from gravity. When light moves away from an object with gravity (moving away from the center of the valley), it is stretched into longer wavelengths. This was confirmed by the Pound-Rebka experiment.
- The Shapiro delay. Light appears to slow down when it passes close to a massive object. This was first seen in the 1960s by space probes headed towards the planet Venus.
- Gravitational waves. They were first observed on 14 September 2015.
- O'Connor J.J. and E.F. Robertson (1996), "General relativity". Mathematical Physics index, School of Mathematics and Statistics, University of St. Andrews, Scotland, May, 1996. Retrieved 2015-02-04.
- Di Casola, Eolo; Liberati, Stefano; Sonego, Sebastiano (2015), "Nonequivalence of equivalence principles", American Journal of Physics, 83 (39): 39–46, doi:10.1119/1.4895342
- "General Relativity". www.pitt.edu. Retrieved 2021-05-30.
- Dyson, F. W.; Eddington, A. S.; Davidson, C. (1920), "A Determination of the Deflection of Light by the Sun's Gravitational Field, from Observations Made at the Total Eclipse of May 29, 1919", Philosophical Transactions of the Royal Society A, 220: 291–333, doi:10.1098/rsta.1920.0009
- Abbott, Benjamin P.; et al. (LIGO Scientific Collaboration and Virgo Collaboration) (2016). "Observation of Gravitational Waves from a Binary Black Hole Merger". Physical Review Letters. 116 (6): 061102-1–061102-16. arXiv:1602.03837. Bibcode:2016PhRvL.116f1102A. doi:10.1103/PhysRevLett.116.061102.