Phytoplankton like diatoms, dinoflagellates, and coccolithophores live near the surface of oceans and use sunlight, carbon dioxide, and nutrients like nitrogen and phosphorus to photosynthesize and grow. The Redfield ratio describes the optimal balance of these elements for phytoplankton growth, with carbon and nitrogen being taken up at a ratio of around 106:16 and carbon and phosphorus at around 106:1. Nutrient availability in different areas of the ocean is influenced by upwelling currents that transport nutrients from the thermocline to the euphotic zone where phytoplankton live.