Myoglobin contains a heme (prosthetic) group which is responsible for its main function (carrying of oxygen molecules to muscle tissues). Myoglobin can exist in the oxygen free form, deoxymyoglobin, or in a form in which the oxygen molecule is bound, called oxymyoglobin.