That you looked it up is evident, so your AI is more valid than what I posted earlier, light is refracted and doesn't travel in a straight line as there are forces that can change it, and this verifies that According to Einstein's General Theory of Relativity, light always locally follows the straightest possible path—called a null geodesic—through the fabric of space and time. Because gravity warps that fabric (spacetime) in a vacuum, the path itself becomes curved relative to an outside observer. General Relativity, a null geodesic is the path that a massless particle (like a photon) takes through four-dimensional spacetime. While we perceive light as "bending" around massive cosmic structures, light is actually taking the straightest possible path through a fabric of space and time that has been warped by mass.The first proof was the solar eclipse in 1919, something we were taught long ago. Gravitatioal lensing is also proof.