Astronomers detected the temporary dimming of X-rays from a system where a massive star is in orbit around a neutron star or black hole (shown in the artist's illustration). This dimming is interpreted as being a planet that passed in front of an X-ray source around the neutron star or black hole.