Seashells contain calcium carbonate. The calcium carbonate reacts with the acid in the vinegar and causes carbon dioxide bubbles to form. Even though the acid in vinegar is weak it can, over a period of time, dissolve shells.