It is caused by the bacterium Mycobacterium tuberculosis and primarily affects the lungs, but can also affect other parts of the body. Tuberculosis is spread through the air when an infected person coughs or sneezes, releasing bacteria into the air that can be inhaled by others. It is important to seek treatment for tuberculosis to prevent the spread of the disease to others.