The coffee in the cake is used instead of water, which is the recommended liquid in the basic Chocolate Cake recipe. The coffee adds depth and complexity and helps create the mocha flavor profile.