whose cake is the best and what is its function

The function of cake is to taste good.

Unless you mean cake of yeast or caked mud or ???