Tuberculosis is a contagious disease primarily affecting the lungs, caused by a type of bacterium called Mycobacterium tuberculosis.