Hydromorphone works by interacting with the central nervous system to reduce the sensation of pain. Upon administration, it is metabolized quickly and enters the bloodstream, providing prompt relief.