Whether a patient with pneumonia chooses to take azithromycin, or amoxicillin is more effective, mainly depends on the cause of pneumonia. If the pneumonia is caused by bacterial infection, either azithromycin or amoxicillin can be taken, but the patient, if the gastrointestinal function is relatively poor, is prone to gastrointestinal irritation to the drug, such as nausea, vomiting and other symptoms. If the patient is due to pneumonia caused by Mycoplasma pneumoniae infection, azithromycin macrolides should be preferred for better results, and amoxicillin has no effect. If the patient is due to viral infection caused by pneumonia, then neither azithromycin, nor amoxicillin can be chosen, because both drugs are ineffective against the virus.