How does the Xpert MTB/RIF molecular test help in tuberculosis diagnosis

The Xpert MTB/RIF molecular test for tuberculosis diagnosis is expected to cost 20% less. Explain how this test works and its significance in diagnosing tuberculosis.