Tuberculosis, commonly known as TB, is an infectious disease primarily affecting the lungs and is caused by bacterial infection.