Inflammation is caused by the entry and growth of microorganisms in the body, which triggers immune responses like pain, swelling, redness, and increased temperature. The body prepares antibodies and increases leukocytes to fight the inflammation as part of the immune mechanism.