Is this fruit or seed
Thank you for the question. It looks like the seed pod of the annual, wild cucumber vine. There are seeds inside that are ejected once the fruit is ripe. Next year, the seeds will sprout and have the potential to smother nearby trees and shrubs. It's a good idea to remove the vine before the seeds can spread the plant. Contrary to the name and remote appearance to the cucumbers we eat, these are not edible. Read more here:
Thank you for contacting Extension.