In a deep baking sheet add the chopped onions, garlic and tomatoes. Season with sea salt and olive oil. Mix.
Bake in preheated oven to 400F for a good 2 hours.
Cool down 5 min and transfer in a tall container. Add the fresh basil leaves and transform into a smooth puree using an immersion blender.
Freeze for up to 6 months.