1Cook the pasta according to the package instructions until al dente. Drain and set aside.
In a large pan, melt the butter over medium heat. Add the minced garlic and sauté until fragrant, about 1 minute.
Add the tomato sauce, salt, and sugar to the pan. Stir well and let it simmer for about 5 minutes.
Add the cooked pasta to the sauce and mix until the pasta is well coated.
Stir in the mozzarella cheese and basil pesto, mixing until the cheese is melted and evenly distributed.
Remove from heat and sprinkle the Parmesan cheese on top.
Serve hot, garnished with fresh basil if desired.