For Masoor dal, heat ghee and add jeera, let it splutter, then add onions, saute until light brown, then add ginger garlic green chilli paste, saute for a minute, then add red chilli powder and tomato puree, cook until the ghee comes out, take out half of the masala for vegetables, then add dal and mix well, simmer for 2 minutes.