In a large skillet over high heat, heat 2 tablespoons of olive oil. Add the eggplant pieces and cook them until browned and soft, for about 5 minutes.
Next, add the remaining 1 tablespoon of olive oil to the skillet. Add the onion and garlic, and cook until they become fragrant, for about 2 minutes.
Pour in the chopped tomatoes, season with salt and pepper to taste, and cook, covered, on low heat for 15 to 20 minutes. If the sauce seems to be drying out, add a splash of water. Check the notes for tips on making the best tomato sauce.
At this point, follow the instructions on the pasta package to boil it to achieve the desired al dente texture.
Gently toss the tomato sauce and the cooked pasta. Garnish with freshly grated hard cheese and basil leaves for extra flavor.
