How does the state of a material change during the process of melting?

Why do humans have nails while some other animals have claws?
What are the different types of solid-state structures observed in crystalline materials?