Green tomato caviar

We need: 1.5 kg green tomatoes500 g bell pepper3 large onionsvegetable oil2 large red tomatoes1 tbsp sugarsalt peppercarrots optional