These are of Pinky this morning.
That yellow ball in the centre is the flower's female sex organ. It's a massive soft shell. The tiny yellow things just about visible on the outside of this shell are the flower's ovaries; dozens per flower. Each ovary holds an oocyte. Once the oocytes are fertilised to become seeds, that fleshy yellow shell swells with sugar and nutrients, in the process turning red.
The ovaries harden to protect the seeds, which are kept on the outside of the berry so they can easily find the soil when some pigeon excretes them.