Add toor dal or lentils and water to a pressure cooker and cook until the lentils are cooked well. Turn off the heat. Once the pressure releases, gently mash the cooked lentils and keep aside. Heat oil in a medium-sized cooking pot or a deep skillet.
Add mustard seeds and cumin seeds, dried red chilies, and hing.
Add and sauté garlic until aromatic.
Add green chilies and chopped onion, and sauté until the onion is translucent. Then add the chopped tomatoes, sprinkle with salt, cover, and cook until the tomatoes are soft. Add turmeric powder, sauté for a couple seconds and add in chopped spinach. Stir fry until spinach soft and cooked.
Transfer mashed dal/lentils, and add enough water as per desired consisteny. Allow the lentils to come to a boil and adjust salt if necessary. Continue cooking for 2-3 minutes until dal is thicker and frothy. Turn off heat and drizzle lemon juice.
Serve with dosa, toasted bread, or rice. Enjoy!