A black hole in space is a region of gravity which prevents anything through it, including light. When objects move towards our planet, the scientists can see it, but in presence of a black hole it is difficult to know anything moving as the black hole absorbs everything that comes in its path.
When a black hole passes through the solar system itself it can cause serious damage to Earth by causing sudden changes in climate and temperature.