How Does A Main Sequence Star Form