A globular protein, closely related to haemoglobin and located in vertebrate muscle. Oxygen binds to myoglobin and is released only when the haemoglobin can no longer supply adequate oxygen to muscle cells.