There is no such thing as a gravitational force. Newton described gravity in terms of a force. It is however just a good approximation.
Einstein's general theory of relativity describes gravity as curvature of 4 dimensional spacetime. 's mass curves spacetime. has no force acting on it from the Sun. It travels along a geodesic which is the spacetime extension of a straight line.
The Earth appears to have an elliptical orbit but it is in fact the projection of the 4 dimensional geodesic onto our familiar 3 dimensions.