Pregunta de entrevista de Nagarro

what is time complexity and how is it useful?