Question: what is the relationship between stars and gravity?
Answer: Known stars have a range of masses, from roughly 0.1 solar masses to somewhat over 100 solar masses. The higher the mass, the larger the gravitational force exerted on the atoms in the star and the larger the pressure that can be created. The central temperature of a star increases as mass increases.