Why soda tastes different in a can or bottle

People often have strong opinions about how they drink their soda. Some people prefer it in a can, others prefer a glass or plastic bottle. While soda companies claim that the recipe doesn't change, there are a few factors that might affect the way you taste a soda depending on the container.