Public goods, like national defense or basic scientific research, are nonexcludable and nondepletable. Potential sellers cannot exclude people from using them, and they are not used up as more people use them. Markets often do a poor job of producing public goods, so there is a case for government action.