By 2.7 billion years ago cyanobacteria - aka pond scum - began using chlorophylls and compounds called phycobilins to make sugars more or less like modern plants, churning out oxygen as a waste product that proved rather useful for animals sometime later.