Orbits are elliptical due to the solutions of the differential equations derived from Newton's law of gravitation, which describe the two-body problem as conic sections. While the solar system consists of multiple bodies, the Sun's dominant mass results in orbits that are approximately elliptical, with perturbations from other planets causing gradual changes in their shape and orientation over time. General relativity also contributes as a perturbative force, but its effects on planetary orbits are negligible. Only stable orbits remain in the solar system, which are predominantly elliptical, as parabolic and hyperbolic orbits have been ejected. Thus, the elliptical shape of orbits is a fundamental characteristic of gravitational interactions in a multi-body system.