With cells, the rule of thumb is, structure defines the function. Different cells throughout the body perform different functions. To perform these functions, they need different shapes. They all have the same DNA, but different blueprints are activated depending on where they are in the body.