Rinse, peel, and grate the carrots. You can also shred them in a food processor.
Grease a glass pan or baking pan with ghee and line it with parchment paper. Keep the parchment paper edges bigger so it is easy to lift the set Burfi.
Heat ghee in a nonstick pan and add grated carrots. Mix well and cook the carrots for 7-8 minutes or until they are soft and the color changes to bright orange.
Add milk and mix well. Continue cooking the carrots until all the milk is absorbed and the carrots are buttery soft.
Add milk powder and mix immediately. Mix until milk powder is well combined and there are no lumps.
Now add sugar and cardamom powder. Mix well. The mixture will become liquidy again because of sugar.
Continue cooking until the mixture becomes thick and reduced and stops sticking to the pan. The carrots will turn again bright and dark in color. It may take 8-12 minutes.
To check if the mixture is ready for Burfi, take a small spoonful of it. Let it cool down and roll into a ball. The mixture is ready if you can easily form a ball out of it.
Turn off the heat and pour the mixture into a prepared baking pan or glass pan. Smooth out the top with the spatula or the back of a spoon.
Sprinkle chopped pistachios evenly on the top and lightly press with the spatula. Let the Carrot Burfi mixture cool down, then cover it and place it in the fridge to set for at least two hours.
When you are ready to serve, remove it from the refrigerator and slice it as you desire.
Serve immediately, and keep the leftovers in an airtight container in the fridge.