In cooking, to cube means to cut into pieces roughly the size and shape of dice. This contrasts with the cooking sense of "dice", in which the pieces are generally smaller.