STEP-BY-STEP ANSWER:
Step 1: Begin with a giant molecular cloud composed of gas and dust; within this cloud, some regions have higher densities.
Step 2: In these high-density regions, gravitational forces overcome the internal pressure, initiating a collapse of the dense core.
Step 3: As the core collapses, the material heats up and begins to form a central concentration of mass, known as a protostar.
Step 4: The protostar continues to accrete material from its surrounding environment, often forming an accretion disk that will contribute to later planetary system development.
Final Answer: The process of dense core collapse in a giant molecular cloud results in a heating and gathering of material that culminates in the formation of a protostar accompanied by an accretion disk.