In a large, heavy-bottomed pot or Dutch oven, heat the olive oil over medium heat.
Add the minced garlic and red pepper flakes (if using). Cook gently for 2-3 minutes until the garlic is fragrant and just beginning to turn pale golden. Do not let it burn.
Pour in the crushed tomatoes. Add the dried oregano, bay leaf, salt, black pepper, and optional sugar or grated carrot. Stir well to combine.
Bring the sauce to a gentle simmer, then reduce the heat to low. Cover partially and let it cook for at least 30-45 minutes, or up to 2 hours, stirring occasionally. The longer it simmers, the deeper the flavors will develop.
Once the sauce has thickened and the flavors have melded, remove and discard the bay leaf.
Stir in the fresh basil leaves. Taste and adjust seasonings as needed. For a smoother sauce, use an immersion blender directly in the pot or carefully blend in batches in a regular blender.