The animal you're referring to is a crab. Crabs are crustaceans that have a tough exoskeleton and possess two large claws, which they use for various purposes such as defense and capturing prey.