01 - Heat olive oil in a large saucepan over medium heat. Add the onion and cook for 5 minutes until soft and translucent.
02 - Stir in the minced garlic and cook for 1 minute until fragrant.
03 - Add chopped tomatoes, tomato paste, vegetable broth, sugar, salt, and black pepper. Bring to a simmer.
04 - Cover and cook for 20 minutes, stirring occasionally.
05 - Use an immersion blender or transfer carefully to a countertop blender to puree until smooth.
06 - Return soup to low heat. Stir in heavy cream and warm gently for 3 to 4 minutes. Adjust seasoning to taste.
07 - In a food processor, combine basil leaves, Parmesan, pine nuts, and garlic. Pulse until finely chopped.
08 - With the processor running, drizzle in olive oil until the mixture is smooth. Season with a pinch of salt.
09 - Ladle the hot soup into bowls and swirl in a spoonful of basil pesto before serving.