A cake must be cooked.  The act of creating a cake is called cooking.