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 is used for local alignment too but with slight variation which makes local alignment more stringent than global alignment.