According to the theory of relativity, as an object with mass approaches the speed of light, its energy requirements increase exponentially. As a result, it is not possible for an object with mass, such as a spacecraft, to reach or exceed the speed of light.
The average distance between Earth and Mars is approximately 225 million kilometers (140 million miles), but the actual distance varies depending on the positions of the two planets in their respective orbits. Currently, it takes spacecraft traveling at typical speeds around 7 to 8 months to reach Mars.
While it is not feasible to travel at the speed of light to reach Mars, researchers and scientists continue to explore ways to reduce travel times through advancements in propulsion systems and other technologies. However, even with significant advancements, it is unlikely that travel times to Mars would ever approach the time scales associated with the speed of light.