Which organ is affected by pneumonia?

Lungs

Spleen

Joints

Liver