An X-ray binary is a type of binary star system that emits X-rays, typically consisting of a normal star and a compact object such as a neutron star or black hole. The intense X-rays are produced as material from the companion star is accreted onto the compact object, heating up to extreme temperatures in the process.