Pergunta de entrevista da empresa Accenture

Why and how profile is used in Spring boot?