Legionnaires' disease is a form of pneumonia. You can get Legionnaires' disease if you breathe in droplets of water containing legionella bacteria.
Legionella bacteria is present in natural water sources such as rivers/lakes. Problems can arise when this water enters a water system with favourable growth conditions.