One of the functions of the gallbladder is to store bile. The bile in the gallbladder tends to be excess from the liver, and is used throughout the digestion process.
Fun Fact: While the gallbladder aids in digestion, it is not required, and humans can survive without it!