Your treatment and meds fight TB and improves your survival. TB can be fatal if not treated. 

Taking the TB treatment minimises the damaging effects of TB which can cause severe lung damage. 

It also decreases infectiousness especially the spread to people in the community.