Quoted By:
I remember having a class about it back on my freshman year
Something something primordial soup in some cave/trench (isolated from UV radiation+having all materials+right conditions) which self-assembled into nucleic acids and shit. The nucleic acids didn't get destroyed, replicated and eventually turned into some sort of primitive iron-oxidizing bacteria.
This is all still just a hypothesis. We've known nucleic acids can form spontaneusly, the big question is how the fuck they turned into an actual cell