The purpose is that you can name chunks with a unique name.
These names make it easier for you to organize your code, for example you can use them like a comment, which is saying whtat the actual chunk is doing. Note that you can also see the chunkname in the commandline, when the script gets executed. In this way, you can actually see where the script is hanging, when it takes a litlle bit longer.