Microbiology and immunology

Why can inflammation be both protective and damaging?