In order to better understand how black holes work, it's important to first understand the concept of gravity. Gravity is a force that attracts all objects with mass towards each other. The strength of the gravitational force between two objects depends on the masses of the objects and the distance between them. The more massive the objects and the closer they are to each other, the stronger the gravitational force between them.
Black holes are incredibly massive, with some having a mass thousands or even millions of times that of the sun. Because of their mass, black holes have an incredibly strong gravitational pull. This is what causes time and space to warp and bend around a black hole, making it impossible for anything, including light, to escape.
Black holes are not static, they are not just a point in space, but they change depending on what enters and leaves the region around them. When something, such as a planet or a star, gets too close to a black hole, its gravity can cause the surrounding space to warp and distort. This warping of space-time can cause time dilation, which means that time appears to pass slower for an observer who is far away from the black hole compared to an observer who is close by.
Additionally, when something enters a black hole, it is pulled into the event horizon, which is the point of no return. Once something crosses the event horizon, it is consumed by the black hole. This is what causes the black hole to grow in size as it consumes more and more matter.
lastly, black hole can also change their properties by accreting matter from their surroundings. this process is called black hole radiation.
In summary, black holes are formed when a massive star collapses in on itself, causing an intense gravitational pull that warps and bends space and time. They are not static, they change depending on what enters and leaves the region around them and also can change their properties by accreting matter from their surroundings.