Bacterial chemosynthesis is the basis for primary production…