Stars are essentially fusion bombs that are continually exploding; the only thing that contains them is their gravity. Gravity may be weak, but gather enough mass together and it can contain continuously exploding nuclear bombs for billions of years.