It's the biggest solid piece of shell in English. Like the stuff over a crabs pincers is still shell but only the stuff that surrounds the main body is the carapace. Often used as an analogy for other sorts of armor, like a knights breastplate being his carapace or a tank's hull armor.
I'm pretty sure you encounter in in science fiction as well, where some bug like alien has a carapace or a soldier has some armored exo-skeleton described by the word. Though I cannot think of any specific examples.
Carapace is rarely used outside a zoological context, but people may be more familiar with the derived word "scarab", being a beetle with a notable shell. It is unfortunately unrelated to the delicious dish carpaccio, which is named after a man.
I suspected Brandon Sanderson made it up for his Mistborn series until hearing it in Project Hail Mary also. This is actually why I clicked the thread: was curious if anyone would make the reference!