It's a precursor to Ammonium perchlorate, which is the preferred format for solid fuel rocket motors. It would have been converted in a relatively simple chemical processing plant.
It was purchased from a Chinese chemical company in its precursor because it's not a weapons grade chemical, it can be used for many things. We all know what it was going to be used for, and who would have used it.