X-ray binaries are a class of binary star systems that emit X-rays, typically consisting of a normal star and a compact object like a neutron star or black hole. The X-rays are produced when material from the normal star is accreted onto the compact object, heating up to extreme temperatures in the process.