Pain-management. Vicodin is, I believe, acetominiphin ("Tylenol") and hydrocodone. The hydrocodone is a controlled substance and can be addictive (or habituating).
I think technically you can take it but "not while operating the vehicle." That's my understanding, and I think it's a little "gray" area. You might wanna ask an expert or MRO or something.