Refers to the fruit or the tree.
La pruna que compré en el mercado estaba tan madura que me la comí de inmediato.
The plum I bought at the market was so ripe that I ate it immediately.
La pruna que compré en el mercado está madura y lista para comer.
The plum I bought at the market is ripe and ready to eat.