Cave vines with glow berries hang from lush-cave ceilings. Berries are also available from mineshaft chest minecarts.
Plant a glow berry beneath a suitable solid block to grow a hanging cave vine. Growing vines can produce berries, and bone meal can encourage berry production. This provides a renewable crop; see Farming.
The wiki's reference versions are Java 26.3 and Bedrock 26.52. The Java 1.17 and Bedrock 1.17 release notes document berries and cave vines before lush caves generated normally. Caves & Cliffs Part II subsequently introduced normal lush-cave generation in both editions.
The stack limit shown above is specifically documented by Java 26.1 data; it does not establish Bedrock's limit. Exact nutrition values are not listed.