Heat a non-stick pan on medium heat.
Add ghee, shredded coconut, sugar, fresh cream and few drops of pineapple essence and cook while slowly stirring continuously, for approximately fifteen minutes or till the mixture turns light yellowish.
Remove from the heat and add powdered sugar and mix. This will help burfi to stay moist.
Grease burfi mould or a deep plate with ghee and pour in the coconut mixture and spread evenly.
When it cools down, cut into diamond or square shapes or any shape of your choice.
Coconut pineapple burfi is ready to serve.