Wash the tomatoes thoroughly and cut them in half.
Slice the garlic thinly.
Add olive oil to a pan and sauté the garlic over medium-low heat.
Add the prepared tomatoes and slowly confit over low heat.
Boil the spaghetti noodles and drain.
Mix the confited tomatoes, garlic, and olive oil with the cooked noodles.
Season with salt and pepper to taste.
Top with basil or Parmigiano Reggiano cheese to finish.