In this recipe, mayo is used as a replacement for eggs. It adds moisture and delicious texture to chocolate cake.