Biogenesis explains how life continues on Earth, meaning how existing life produces more life. It states that life can only arise from pre-existing life.
The origin of life itself is a different question, and biogenesis doesn't explain it. There are many theories about how life first arose on Earth, but no definitive answer exists.