Wash the tomatoes and cut them into smaller chunks. Blend them in a food processor until smooth. Strain the tomato puree and discard the skin and seeds.
Preheat oil in a large saucepan. Add onion and cook until translucent. Add garlic and cook until it becomes fragrant.
Add the tomato puree to the saucepan. Cook until the mixture boils. Let the sauce simmers down until it becomes thick for about 20-25 minutes.
Season with sugar, salt, black pepper, dried oregano, and dried basil.
Taste the sauce. If it tastes does not acidic enough, you can add tomato paste into the sauce (optional).
Let the mixture cools down completely before using or storing it in an airtight container.
Notes
If using fresh herbs, add 1 tsp chopped basil leaves and 1 tsp chopped oregano leaves. Make sure to add fresh herbs at the end of cooking.Tomato paste is an optional ingredient. Depending on the type of tomatoes you use, you can add tomato paste to make the sauce more tomatoey and acidic.If you want an extra smooth marinara sauce, you can blend the cooled sauce in a food processor until smooth.You can store the sauce in the refrigerator for up to 4-5 days or in the freezer for 3 months.