These are saprotrophic fungi, that is they are breaking down dead organic matter and cycle the nutrients back into the soil. This group also 'auto digest', a character you have captured well in your photo. This is a process that occurs as the spores mature from the edge of the cap towards the centre .