According to the theory of general relativity, a galaxy must have a certain amount of mass to be held together by gravity.