This test is done to find out if you have tuberculosis. Your doctor might order this test if you have a lung infection or symptoms of TB.