Most of the Universe is space. Space is elastic: it can change and get bigger or smaller. Einstein published The General Theory of Relativity in 1915. He said that gravity changes space and time. the gravity of a planet or a star curves the space around it.
it is possible ti see a star behind the Sun because the Sun curves the space around it. the light from the star changes direction when it goes near the Sun.