Is there a word the describes the relationship between a precursor and its product when they share the same name, at least colloquially. For instance, the beverage coffee and the grounds that it is made from. We refer to both as "coffee" but context gives us the literal meaning. The same is true for "tea" as it is both the dried leaves and the drink made by steeping said leaves.
I can't find any other examples of this relationship, though I wouldn't be surprised if there were some. It feels a lot like a synecdoche but that perhaps doesn't encompass the entire concept.