Yes, cooking garlic can help reduce its bitterness and mellow out its flavor. Raw garlic can have a strong, pungent taste with a hint of bitterness. When garlic is cooked, especially when it is sautéed or roasted, the flavor profile changes. Roasting garlic at a moderate temperature results in a sweeter and milder flavor.