Pneumonia is the inflammation in the lungs that is primarily caused by infections due to micro organisms like bacteria  virus and fungi Additionally  the pneumonia can be caused by parasites and idiopathic reasons