i will first start with what are actually black holes.A black hole is a region of spacetime exhibiting such strong gravitational effects that nothing—not even particles and electromagnetic radiation such as light—can escape from inside it. The theory of general relativity predicts that a sufficiently compact mass can deform spacetime to form a black hole. they are perfect examples of blackbody radiators. they absorbs the most of thermal energy and radiates the maximum.Black holes of stellar mass are expected to form when very massive stars collapse at the end of their life cycle. After a black hole has formed, it can continue to grow by absorbing mass from its surroundings. By absorbing other stars and merging with other black holes,supermassive black holes of millions of solar masses may form. There is general consensus that supermassive black holes exist in the centers of most galaxies.
most physicists thinks that blackholes may acts like a wormhole through which we can travel in space from one place to another. they are like shortcut in space. according to general theory of relativity an object having mass distort time and space and space time fabric curves around an object having mass.

more the mass of an object more time and space gets wrapped. sun has very less mass in term of cosmic scale therefore it has very less distortion on space time fabric.
but black holes have so much mass and density that it creates a loop in space time creating a shortcut through which we can travel.
as nothing can escape the immense gravitational field of black holes not even light we have to travel at a faster rate than the cosmic speed limit of light to escape the gravitational field of black hole that is not possible in physics term of view. we can not ever reach the speed of light as far as most scientist thinks. but if we can do this, means we can travel faster than the speed of light we can leave behind most of space and time. this is because most of space time is wrapped around that black hole and it will be easier for us to time travel if we surpass the other end of the black hole.