Mycoplasma pneumoniae, also known as walking pneumonia, is generally a mild bacterial infection that largely affects children and teens and can commonly be treated with antibiotics.