When nebulae collapses due to their own weight, this is due to gravity. The gravity causes atoms to fuse and a protostar is born from the fusion of hydrogen. Fusion of hydrogen forms heavier elements such as helium and more fusion of helium forms carbon. Carbon is the significant element of life and is formed in the center of stars due to nuclear fusion as a result of gravitational force.