The spontaneous origin of cells began with organic monomers spontaneously forming polymers through anabolic reactions, after which hereditary information is encoded to allow it to self-replicate before they are packed into membranes with different internal chemistry than that of its surroundings