Take 250 grams of gram flour (besan) and dry roast it on a low flame until it changes its color slightly and releases a nice aroma. Keep it aside.
In a heavy-bottomed pan, add 500 grams of sugar and 1 cup of water. Stir it on a medium flame until the sugar dissolves completely.
Continue to cook the sugar syrup until it reaches a one-string consistency.
Now, slowly add the roasted gram flour to the sugar syrup, stirring continuously to avoid lumps.
Simultaneously, in another pan, heat 500 grams of ghee until it's hot. Gradually add this hot ghee to the gram flour and sugar mixture, stirring continuously.
Keep stirring and cooking the mixture on a medium flame until it starts leaving the sides of the pan.
Add a pinch of cardamom powder and mix well.
Pour this mixture into a greased tray and let it cool.
Once cooled, cut the Mysore Pak into desired shapes and serve.