Respuesta :

Nuclear fusion
Stars fuse hydrogen into helium (and depending, also carbon, oxygen, neon, magnesium, silicon, and iron but that's complicated) to resist the force of immense gravity, in order to retain its shape. 

the answer is: Nuclear fusion