Nut

A nut is a fruit composed of an inedible hard shell and a seed, which is generally edible.

As a Container for Collectibles
Nut (Super Mario Odyssey)

As a Consumable
Nut (WarioWare: Twisted!)

As a Power-Up
Nut (Yoshi's Safari)