Peanuts have many uses. They can be eaten raw, used in recipes, made into solvents and oils, medicines, textile materials, and peanut butter, as well as many other uses. Popular confections made from peanuts include salted peanuts, peanut butter (sandwiches, peanut candy bars, peanut butter cookies, and cups), peanut brittle, and shelled nuts (plain/roasted). Salted peanuts are usually roasted in oil and packed in retail-size plastic bags or hermetically sealed cans. Dry roasted salted peanuts are also marketed in significant quantities. Peanuts are often a major ingredient in mixed nuts because of their relative cost compared to Brazil nuts, cashews, walnuts, and so on. Although peanut butter has been a tradition on camping trips and the like because of its high protein content and because it resists spoiling for long periods of time, the primary use of peanut butter is in the home. Large quantities are also used in the commercial manufacture of sandwiches, candy, and bakery products. Boiled peanuts are a preparation of raw, unshelled green peanuts boiled in brine and often eaten as a snack. More recently, fried peanut recipes have emerged – allowing both shell and nut to be eaten. Peanuts are also used in a wide variety of other areas, such as cosmetics, nitroglycerin, plastics, dyes and paints.