Both azithromycin and doxycycline are antibiotics of different classes. They almost have the same effects as both of them are used to treat respiratory infections, skin infections, UTIs, and STIs. However, sometimes, they are combined to treat certain conditions. That decision of combining both antibiotics should rest on your physician and one should not use both drugs without proper medical advice.