A SERS unit 1A comprises a substrate 4; an optical function part 10 formed on the substrate 4, for generating surface-enhanced Raman scattering; and a package 20A containing the optical function part in an inert space S and configured to irreversibly expose the space S.