The tidal force or tide-generating force is a gravitational effect that stretches a body along the line towards and away from the center of mass of another body due to spatial variations in strength in gravitational field from the other body. It is responsible for the tides and related phenomena, including solid-earth tides, tidal locking, breaking apart of celestial bodies and formation of ring systems within the Roche limit, and in extreme cases, spaghettification of objects. It arises because the gravitational field exerted on one body by another is not constant across its parts: the nearer side is attracted more strongly than the farther side. The difference is positive in the near side and negative in the far side, which causes a body to get stretched. Thus, the tidal force is also known as the differential force, residual force, or secondary effect of the gravitational field.