Which organ is affected by pneumonia?

Spleen

Lungs

Joints

Liver