Composting can be used to remediate contaminated soil. The overall process involves mixing contaminated soil with amendment materials like straw or wood chips in windrows or static piles to stimulate microbial activity. As microbes break down the amendment materials, heat is generated and hazardous chemicals in the soil may be broken down or transformed into innocuous compounds. The design considers factors like pile dimensions, moisture levels, aeration, and inoculating the soil with microbes to optimize treatment.