316 stainless steel contains molybdenum, which improves resistance to chlorides and pitting corrosion. It is generally preferred for saltwater, coastal, and chemical environments. 304 is well suited to many indoor, freshwater, and general outdoor applications.