Legionella bacteria can spread beyond the lungs. It may infect wounds or other organs in the body, such as the heart.