Can someone tell me what [ -d $DIR ] mkdir $DIR does please

I am stuck on mkdir $DIR in a #!/usr/bin/env bash script, so if someone can help that would be much appreciated.