It Later Emerged On Land

Many scientists believe that after life first developed in the ocean, it evolved to a sufficient degree that some species were able to crawl out onto land. They were amphibious, meaning that they were able to survive in both land and water, as they had mechanisms for breathing in both environments.
These animals evolved so that they developed lungs to breathe air and legs to walk. On and on down the line, we get giant reptiles, such as dinosaurs, as well as mammals, which ultimately evolved into humans. Sure, there are many questions about how evolution occurred. But the consensus in the scientific community is that life developed in the oceans and then came out onto land.