High-quality tomatoes, whether fresh or canned, are the foundation of a good spaghetti sauce. San Marzano tomatoes are popular for their rich flavor. Slow cooked, ripe release their natural sweetness and acidity, adding depth. Onions, Garlic, and Aromatics like sautéed onions, garlic, and other aromatics like carrots and celery create a flavorful base too.