Looks like Billbergia brazilensis (but could be B. vittata too). Yes, those are seed pods. When they are fairly dry (by now probably) you can open them and squeeze out the seeds from the gooey inards, wash them off (I use a collander), and dry them. They are pretty easy to grow from seed. Very spectacular in bloom but they don't last long.