Biscotti is a generic Italian word that refers to any type of cookie. If you travel to Italy, walk into a bakery, and ask for a “biscotti”, they’re going to answer (in Italian): “Which kind of biscott[o] do you want?”The same will happen if you walk into a sandwich shop and ask for a panini.
“Panini” means sandwiches, “biscotti means cookies, and “pizza” means...pizza. Ok, we got at least that right.
Biscotti is just another “lost in translation” case. Well, now that I’m thinking about it, it’s not really that. We didn’t translate anything. It’s some sort of cross-language homonym. Same spelling different meaning.
Anyway, back to “biscotti”. The name biscotti is derived from the Latin word “bis” meaning twice and the Italian word “cotto” meaning cooked or baked. It just means twice-baked or baked-twice, as you prefer.