An AFB C/S test is performed to diagnose tuberculosis (TB), a contagious bacterial infection that typically affects the lungs, but can also affect other parts of the body such as the brain, spine, or kidneys. The test is used to detect the presence of Mycobacterium tuberculosis in a sputum sample, which is important for confirming a diagnosis of TB and determining the most appropriate treatment plan. It may also be used to monitor treatment progress and to detect antibiotic-resistant strains of the bacteria.