An antibiotic sensitivity test is used to help find the best treatment for a bacterial infection. It may also be used to find out which treatment will work best on certain fungal infections.