A collision with a Mars-like planet could have given Earth the ingredients it needed for life to form.

Source: Earth Swallowed Another Planet and (Maybe) That's Why Life Exists