Grep searches one or more input files for lines containing a match to a specified pattern. By default, Grep outputs the matching lines.