Pregunta de entrevista de Synopsys

What does the grep command do in Linux?