Cook the spaghetti in a large pot of salted boiling water according to package instructions until al dente. Drain and set aside.
In a large skillet, heat olive oil over medium heat. Add the minced garlic and sauté for 1 minute until fragrant.
Add the tomato sauce and stir well. Let it simmer for 3-4 minutes.
Lower the heat and stir in the heavy cream, salt, black pepper, and red pepper flakes. Cook for another 2-3 minutes until heated through and creamy.
Add the cooked pasta to the skillet and toss to coat evenly with the sauce.
Serve immediately, topped with fresh basil and grated Parmesan.