Tres leches cake has three layers: a moist yellow cake soaked in a mixture of three different types of milk, which keeps the cake moist and creates a delicious, creamy texture.