The gross green sticky stuff is actually a sludge of spores. It attracts flies by its hideous decomposing corpse smell, and they carry the spores on their legs to new locations. Isn’t nature wonderful?