Should it be:
Due to the rain the children didn't go out and play.
Or
Due to the rain, the children didn't go out and play.
This question has come up before, but I can't find an answer that includes an explanation of introductions saying why. I don't know what sort of phrase it is.
I think the latter.