The concept of a black hole comes from the theory of general relativity, formulated by Albert Einstein. Black holes can form through various processes, but one common scenario is the gravitational collapse of massive stars at the end of their life cycles.