Question: what is the difference between custom setting and custom metadata in salesforce?
Answer: Custom metadata are like custom setting but records in custom metadata type considered as metadata rather than data. These are typically used to define application configurations that need to be migrated from one environment to another, or packaged and installed. ... You can create lookups between Custom Metadata objects.