Certain types of candy, particularly those with a chewy or gummy texture, may use gelatin in their production. Gelatin is a protein derived from animal collagen, and pork is a common source of this ingredient due to its cost and availability.

Gelatin is used in candies to provide a specific texture. Some of the candies that may contain gelatin derived from pork include gummy bears, fruit snacks, and marshmallows. While other sources of gelatin, such as fish or plant-based alternatives, may be used by manufacturers, it is still essential to verify the ingredients to determine if pork gelatin is used.
For people who follow certain dietary restrictions, such as halal or kosher diets, the use of pork gelatin in candy is a concern. Some halal and kosher organizations consider pork gelatin to be haram, or forbidden, and will not consume products containing it. As a result, some manufacturers offer halal or kosher-certified candies that use alternative sources of gelatin.
Moreover, some candies may contain other animal-derived ingredients such as carmine, which is a red pigment made from the cochineal insect. Carmine is used to giving candy and other foods a red color, but it is not suitable for people who follow a vegetarian or vegan diet.
In conclusion, not all candies contain pork, but some may contain gelatin derived from pork. Therefore, it is necessary to check the ingredient list to identify if pork gelatin or other animal-derived ingredients are present. People who follow certain dietary restrictions, such as halal or kosher, may need to look for alternative products that comply with their dietary restrictions.