Heparin is an anticoagulant substance produced primarily by mast cells, which are connective tissue cells containing granules with heparin and histamine. Mast cells release heparin as part of the inflammatory response and to prevent blood clotting. Other options are incorrect: fibroblasts produce collagen, plasmocytes are antibody-producing plasma cells, and adipocytes store fat.