These are Tithonia seeds. They are held firmly within the prickly seed head so wear gloves when removing them. If you bang the seed head on a solid surface you may find that they fall out easier than trying to extract them with your fingers.
The seeds are a dark brown colour when ripe and have a hard coating. They are tooth shaped.
Allow the seeds to dry fully before storing. You can read our article on storing seed
here.
The seed can then be sown in March to grow your new Tithonia plants.