1. Cook the pasta: Bring a large pot of salted water to a boil. Add the pasta and cook according to the package instructions until al dente. Drain and set aside.
2. Sauté the zucchini: In a large skillet, heat the olive oil over medium heat. Add the zucchini slices and sauté for about 4-5 minutes until they are slightly tender and lightly browned.
3. Add the garlic and red pepper flakes: Push the zucchini slices to one side of the skillet and add the minced garlic and red pepper flakes. Sauté for about 1 minute until fragrant.
4. Combine the ingredients: Mix the zucchini slices, garlic, and red pepper flakes together in the skillet. Season with salt and pepper to taste.
5. Toss with cooked pasta: Add the cooked pasta to the skillet with the zucchini mixture. Gently toss everything together until the pasta is well coated with the zucchini and garlic.
6. Serve: Transfer the pasta and zucchini mixture to serving plates or bowls. Sprinkle with grated Parmesan cheese and garnish with fresh basil leaves, if desire