Hydrocodone is prescribed for moderate to severe pain relief, working by changing how your brain and nervous system respond to pain signals.