Which organ is affected by pneumonia?

Spleen

Joints

Lungs

Liver