Which organ is affected by pneumonia?

Lungs

Spleen

Liver

Joints