I was wondering about a planet who orbits two stars. Could it be that it moves as in the image?
In this hypothetical theoretical situation, if the two stars are of the same size (they have the same mass) then the orbit of a planet passing through the center of mass of the two stars could traverse both binary stars as an 8 because the center of mass is an unstable point in which the attractive forces of the two stars are equal. If, for example, the planet has orbited the star S1, the inertia of the planet that adds to the force of attraction of the star S2 may also intervene in the center of mass and the planet may fall into the sphere of attraction of the star S2,following an orbit around it. Then the cycle resumes. In addition, if the planet's orbit is elliptical, in the center of mass of the two binary stars could intervene in addition to the force of inertia and the effect of gravitational slingshot.