Turning the compost puts a lot of air into the pile and the microbes that make the compost breathe air just like you and me. A well aerated pile with the right C:N ratio can even get hot, over 150F. Temperatures like that can help kill weed seeds and disease organisms. In a home compost pile these high temperatures rarely occur.