Heat olive oil in a large pan over medium heat.
Add onions and garlic, cooking for about 3 minutes until they're fragrant.
Stir in the bell peppers, allowing them to soften for another 5 minutes.
Mix well so they coat evenly in oil.
Include the diced eggplant and zucchini, and let them cook while stirring occasionally.
Just give it 7-10 minutes until they soften a bit.
Pour in the canned tomatoes, chopped fresh tomatoes, thyme, basil, and a pinch of red pepper flakes.
Stir everything together and season with salt and pepper to your liking.
Lower the heat to a simmer and cover the pan.
Allow the dish to cook for about 20-25 minutes, stirring occasionally.
Serve the ratatouille warm, and enjoy the rich aroma filling your kitchen.