Chop the tomatoes, onion, and garlic.
Heat olive oil in a pan and sauté the garlic.
Add the onion and cook until translucent.
Add the tomatoes and simmer until it becomes a sauce.
Season with salt and pepper.
Cook the pasta in boiling water.
Drain the pasta and toss it with the sauce.
Finish with cheese and basil.