An intramuscular (IM) injection delivers medication directly into a muscle, allowing for rapid absorption into the bloodstream, and is often used for vaccines and certain medications that need to be absorbed quickly or when oral or subcutaneous routes are not suitable.