What is the difference between Allium cepa and garlic

Allium sativum and Allium sativum are different in terms of the original plant, medicinal properties, efficacy and indications.
Allium sativum is the dried bulb of Allium sativum or Allium sativum, family Liliaceae; Allium sativum is the bulb of Allium sativum, family Liliaceae. In terms of medicinal properties, Allium cepa, as a traditional Chinese medicine, is pungent, bitter and warm, and belongs to the heart, lung, stomach and large intestine meridians; garlic is pungent and warm, and belongs to the spleen, stomach and lung meridians.
In terms of efficacy and indications, Allium cepa has the efficacy of dispersing knots and promoting yang, promoting qi stagnation, and can be used for epigastric (abdomen) plumpness (stomach distension and discomfort) and distension, diarrhea and dysentery, chest paralysis (chest tightness and pain), and heart pain; garlic has the efficacy of killing worms, eliminating swellings and removing toxins and stopping dysentery, and can be used for scabies, carbuncle sores and ulcers, hookworms, pinworms, coughing, consumption, diarrhea, dysentery, and so on.
Allium sativum should be used with caution in cases of yin deficiency and fever, and the adverse effects are not clear; garlic can cause burning, redness and even blistering of the skin when used externally, and should not be applied for too long, and pregnant women should not use it as an enema, and should not be taken by those who have a deficiency of yin and fire or those who have disorders of the tongue, eyes, mouth, and throat.
Please do not use the drug by yourself, the use of drugs should be under the guidance of a doctor.