Phytoplankton produce oil inside their cells as a way of storing energy and helping them remain buoyant in the water.