Begin by cooking the pasta according to package instructions in a large pot of salted boiling water. Cook until al dente, then drain and set aside.
While the pasta is cooking, heat the olive oil in a large skillet or saucepan over medium heat.
Add the chopped onion, minced garlic, carrot, and celery to the skillet. Sauté for about 5-7 minutes until the vegetables are softened and the onion is translucent.
Increase the heat to medium-high and add the ground beef to the skillet. Cook until browned and cooked through, about 5-6 minutes.
Stir in the crushed tomatoes, tomato paste, beef stock or water, oregano, and basil. Season with salt and pepper to taste. Bring the mixture to a simmer.
Reduce the heat to low and let the sauce simmer for about 30 minutes, stirring occasionally.
Once the sauce is done, toss the cooked pasta in the sauce, ensuring even coating.
Serve immediately, topped with grated Parmesan cheese and fresh basil if desired.