structure and function in plants