Which organ is affected by pneumonia?

Liver

Lungs

Joints

Spleen