Merging two or more threads is very useful.