Cook pasta in salted boiling water according to package directions, then drain and set aside.
Heat olive oil in a large skillet or pan over medium heat.
Add chopped onion and cook for 3–4 minutes until softened.
Add minced garlic and cook for another 1 minute until fragrant.
Add ground beef and cook until fully browned, breaking it apart as it cooks.
Drain excess fat from the pan.
Stir in tomato paste and cook for 2 minutes to deepen the flavor.
Pour in crushed tomatoes and stir well to combine.
Add Italian seasoning, sugar, red pepper flakes, salt, and black pepper.
Simmer the sauce on low heat for 15 minutes, stirring occasionally.
Add cooked pasta into the sauce and toss well to coat every piece.
Serve hot, topped with grated Parmesan and fresh basil.