Binary stars
A binary star is a stellar system consisting of two stars orbiting around their center of mass. For each star, the other is its companion star. Recent research suggests that a large percentage of stars are part of systems with at least two stars. Binary star systems are very important in astrophysics, because observing their mutual orbits allows their mass to be determined. The masses of many single stars can then be determined by extrapolations made from the observation of binaries.
Binary stars are not the same as optical double stars, which appear to be close together as seen from Earth, but may not be bound noticeably by gravity. Binary stars can either be distinguished optically (visual binaries) or by indirect techniques, such as spectroscopy. If binaries happen to orbit in a plane containing our line of sight, they will eclipse each other; these are called eclipsing binaries.
Systems consisting of more than two components, known as multiple stars, are also not uncommon and are generally classified under the same name. The components of binary star systems can exchange mass, bringing their evolution to stages that single stars cannot attain. Examples of binaries are Algol (an eclipsing binary), Sirius, and Cygnus X-1 (of which one member is probably a black hole).
If stars of the system of the binary star are not balanced according to their center of mass, there is imbalace in the system. And at every rotation of star around its center of mass, the radius of its orbit decreases. After many years, When the stars in the system collapes, black hole happens in the center and the "Niagra fall" of gamma rays burst from it.
It is as danger as magnetar.