Foraminifera have lived almost everywhere in the ocean for millions of years. Their fossilised remains hold a record of Earth’s past.