Old English bacan "to bake, to cook by dry heat in a closed place or on a heated surface," from Proto-Germanic *bakan "to bake" (source also of Old Norse baka, Middle Dutch backen, Old High German bahhan, German backen), from PIE *bheg- (source also of Greek phogein "to roast"), extended form of root *bhē- "to warm" (see bath). Related: Baked (Middle English had baken); baking. Baked beans is attested by 1803.
<a href="https://www.etymonline.com/word/baking">Etymology of baking by etymonline</a>
Harper, D. (n.d.). Etymology of baking. Online Etymology Dictionary. Retrieved $(datetime), from https://www.etymonline.com/word/baking