Garlic (species Allium sativum) is a type of plant that people eat for food. Garlic is related to onions, shallots, and leeks. It has a very strong flavor and smell. Most of the time, people use it as a flavoring so that it helps make food taste better.