Tuberculosis is a bacterial infection that primarily affects the lungs. It can also affect other par…