Local alignment
Local alignment only aligns the most similar regions between the sequences. The measure of similarity will depend on the parameters used for registering a mismatch. Smith-Waterman algorithm, a variation of Needleman Wunsch algorithm, is used for local alignment that makes local alignment more stringent than global alignment.