The primary function of large intestine is absorption of water and electrolytes from digestive residues .