Pergunta de entrevista da empresa TCS

What is custom setting? difference between custom setting and metadata?