Tuberculosis is a bacterial infection that is also known as TB. It can be fatal if not treated. TB most often affects your lungs, but can also affect other organs like your brain.