A cookie jar is a container, often decorative, used to store cookies and other small baked treats, keeping them fresh and easily accessible.