Early bacteria that could make its own energy evolved into

photosynthetic bacteria, which were able to harvest energy from sunlight through a process called photosynthesis. This allowed them to produce their own organic matter and become more self-sufficient. Over time, these early photosynthetic bacteria evolved into more complex organisms, including algae and ultimately plants. As plants evolved, they developed structures such as stems, leaves, and roots, which allowed them to adapt to new environments and eventually dominate the land.