1. Gas: Primarily hydrogen, with some helium and trace amounts of other elements.
2. Gravity: This force pulls the gas together, causing it to condense and heat up.
The process of star formation is complex and takes millions of years, but these two ingredients are essential.