Aside from absorbing water and nutrients, what other functions do the roots serve?