Here's another reason to eat your greens. As well as helping to prevent cancer, broccoli may also help the immune system to clean harmful bacteria from the lungs. A compound found in the vegetable is now being trialled as a treatment for people with lung disease.