Basil is an herb. The parts of the plant that grow above the ground are used to make medicine.
Basil is commonly used orally for stomach problems such as spasms, loss of appetite, intestinal gas, diarrhea, and constipation. But there is limited scientific research to support these and other medicinal uses of basil.
In foods, basil is used for flavor.