Primary producer is the answer.
Here is the definition.
Primary producers are organisms in an ecosystem that produce biomass from inorganic compounds (autotrophs). In almost all cases these are photosynthetically active organisms (plants, cyanobacteria and a number of other unicellular organisms.