For cooking, a knife.

For eating, a fork.

Although eating cake is best with a spoon. (Cake, by the by, should be cold. Right out of the fridge.)