Sori occur on the sporophyte generation, the sporangia within producing haploid meiospores. As the sporongia mature, the indusium shrivels so that spore release is unimpeded. The sporangia then burst and release the spores.
http://en.wikipedia.org/wiki/Sori