A black hole is a region in space where the pulling force of gravity is so strong that light is not able to escape. The strong gravity occurs because matter has been pressed into a tiny space. This compression can take place at the end of a star's life. Some black holes are a result of dying stars.
Because no light can escape, black holes are invisible. However, space telescopes with special instruments can help find black holes. They can observe the behavior of material and stars that are very close to black holes.
Scientists think supermassive black holes formed at the same time as the galaxy they are in. The size of the supermassive black hole is related to the size and mass of the galaxy it is in.
Black holes do not wander around the universe, randomly swallowing worlds. They follow the laws of gravity just like other objects in space. The orbit of a black hole would have to be very close to the solar system to affect Earth, which is not likely.
If a black hole with the same mass as the sun were to replace the sun, Earth would not fall in. The black hole with the same mass as the sun would keep the same gravity as the sun. The planets would still orbit the black hole as they orbit the sun now.
It distorts light coming from its background due to immense gravitational pull causing gravitational lensing effect thus there will be erroneous astronomical data.
Hope this information will clear your doubts about topic.
If you have any more doubts just ask here on the forum and our experts will try to help you out as soon as possible.