Basically hreflang tag lets Google know which language you are using on a specific page, so it can serve result to users searching in that language. This tool is pretty helpful in generating hreflang tags as it allows you to put Webpage URL, select language and country and it provide you the tag code. You can also get multiple hreflang tag code as well.
.