Garlic is used as a seasoning in mainly savory dishes - basically anything other than confections or deserts like cakes, pies, candies, puddings, Jello, etc. when you want the flavor. Like Uncle Bob said - it's easier to list what not to put garlic in.
Garlic can be used in rubs for smoking meats, in soups, stews, braises, in roasting, casseroles, sauces, BBQ sauce, with vegetables, in some breads (onion and garlic bagels are one of my favorites), used in marinades, oil infusions, vinaigrettes, slivers can be stuffed into pork roasts or a leg of lamb, a paste can be used on or under the skin of chicken or turkey, in meatloaf, meatballs, sausages, chili, scrambled eggs, mashed potatoes, scalloped potatoes, potato salad, pasta, to make garlic bread ... and the list just goes on and on and on like the Energizer Bunny.