Legionnaires' disease is a type of pneumonia caused by bacteria. It is sometimes called legionellosis. You can get it from breathing in mist from water that contains the bacteria.