What is the difference between cooking and baking and what are the origins of those words?

Baking is a special form of cooking involving batters and dough. cook: from Latin coquere, to cook bake: Middle English baken, from Old English bacan