During digestion, which of the following organ(s) is/are responsible for extracting certain minerals and maintaining proper fluid balance?