Productivity refers to the production of biomass per unit time and area. Gross productivity is the total gain, while net productivity is the gain remaining after respiratory loss. Primary productivity is energy captured by producers like plants, defined as gross primary productivity minus respiration. Secondary productivity refers to biomass gained by consumers. Factors like sunlight, temperature, water, nutrients influence productivity, with the most productive ecosystems having optimal conditions for plant growth.