what is the different kinds of nutrients and its functions?