Give an example of how structure determines function for the skeletal system and for the endocrine system.