 W Ursae Majoris is an example.When a binary system contains a compact object such as a white dwarf, neutron star or black hole, gas from the other (donor) star can accrete onto the compact object.This releases gravitational potential energy, causing the gas to become hotter and emit radiation.