This tool provides a way to make a mesh simple by merging the selected vertices within the specified distance.
Select vertices or edges or faces which you want to merge.
And then click "Remove Doubles" button. You will be able to see the selected vertices merged based on the specified distance in the attribute panel.
(distance = 1) (distance = 0.5)
In order to change the distance used in this tool, you should enter this tool with no selections and then specify the distance as follows.
You can also select faces or edges instead of vertices as follows.
(distance = 0.5)
(distance = 0.5)