Cookies are technically only baked once. They do have a higher moisture content and therefore a shorter shelf life. Biscotti and baked in a log first and then baked again after being sliced. They are a low moisture cookie to begin with and then being baked for a second time dries them out completely, giving them a much longer shelf life than regular cookies.