Cyanobacteria are believed to be the ancestors of chloroplasts in plant cells. Millions of years ago, they were taken up into cells, leading to the evolution of the first plants.