As you are probably aware, the toadstools and mushrooms we see are actually the fruiting bodies of the fungus that spends most of it's life out of sight underground or within rotten wood etc.
Here we can see the final stage of the fungi's lifecycle, as the spores are being released from this Puffball into the air, creating the appearance of a cloud of smoke. A process named sporulation.