The porous texture of Mysore pak is a result of the ghee-oil being mixed into the chickpea flour and sugar syrup mixture when it is very hot. This cause small steam bubbles to form in the mix and then collapse leaving pores.