Some fruits and vegetables help with lung infections. Most of these fruits are rich in vitamin C, and they include carrots, tomatoes, red and yellow bell peppers, orange, sweet lime, apples, and pineapples.