PREP: Finely chop onions and mince garlic.
SWEAT: Heat a dutch oven or large pot over medium heat and add olive oil. Sweat onions with a pinch of salt until soft and translucent, about 8-10 minutes. Add in garlic and cook another minute.
CARAMELIZE: Add in tomato paste, and cook for 2-3 minutes until it darkens (caramelizes), while stirring.
BLEND: Add in tomatoes, water, oregano, thyme, and another few pinches of salt and mix together. For a smoother sauce, purée with an immersion blender. For a chunkier sauce, break up tomatoes with a potato masher.
SIMMER: Add in whole basil leaves, and parmesan rind if using. Bring to a boil, then reduce heat to a simmer. Cook covered for about 20-30 minutes.
FINISH: Taste and add salt and pepper as needed. Discard the parmesan rind. Serve with pasta, as a dipping sauce, or with chicken parmesan.