She devoted her life to music.

Literal

She [topic-は] music [to-に] life [object-を] dedicated.

一生をささげる ('to devote one's life') has the gravity of a fixed phrase — used in obituaries, biographies, and reverent descriptions of single-minded careers. The pattern ~に~を捧げる takes に for the recipient and を for what is given; the receiver here is music itself, treated almost as a deity to which one's life is offered. The kanji 捧 carries the visual sense of holding something up with both hands.