Gallbladder stones are hardened cholesterol that forms due to presence of chemicals in the bile. The gallbladder is located beneath the liver and primarily stores bile which is produced by the later.
For the bile to carry cholesterol, it has to be first dissolved here. The more concentrated the bile becomes, the better it digests fats. When the liver makes more cholesterol than can be dissolved, stones form.