Light from a distant star is bent and focused by gravity as a planet passes between the star and Earth.