Differs by organism
The pathophysiology and immune mechanisms involved in pneumonia
vary broadly according to different causative organisms - bacteria
, viruses, fungi
, mycobacteria etc.
You can consult a pathology textbook if you just want information about the histological changes in the lung. For understanding the immune mechanisms involved, you can look for general review articles that summarize these changes.