Heat olive oil over medium heat in a saucepan and add the sliced garlic.
Cook the garlic until it becomes fragrant and just starts to turn golden brown.
Remove the garlic and oil from the heat. Scoop out the garlic and discard.
Place oil back onto stovetop. Add onion over medium heat. Cook 2-3 minutes, or until fragrant and translucent. Remove from heat and set aside.
Drain the tomatoes, reserving about 1/4 cup of liquid and add to a blender.
Pulse the tomatoes for just a few seconds so you have a slightly chunky textured sauce.
Carefully add the tomatoes to the oil. Heat over medium heat.
Stir and season with the fresh herbs and salt and pepper. Add a dash of red pepper flakes, if desired.
Bring the sauce to a rapid simmer. Then, lower the heat.
Cook the sauce, stirring occasionally, for at least 20 minutes.
Serve over pasta.