Finely chop the onion and garlic.
Heat olive oil in a pan and sauté the garlic and onion.
Add ground beef and cook until done.
Add tomato sauce and simmer for 10 minutes.
Boil the spaghetti noodles.
Top the cooked noodles with meat sauce.
Sprinkle Parmesan cheese to finish.