The process by which cells or parts of an organism change during development to serve a specific function. The cells of an animal in its early embryonic phase, for example, are identical at first but develop bydifferentiation into specific tissues, such as bone, heart muscle, and skin.