Quick Answer. According to MedlinePlus, a Z-Pak contains azithromycin tablets and is used to treat certain bacterial infections, including bronchitis, pneumonia, sexually transmitted diseases, and infections of the ears, lungs, sinuses, skin, throat and reproductive organs.