Explain the basic functions and sources of minerals and water in the body.