You can remember the meaning of 牺牲 with this easy mnemonic:
I will sacrifice (牺) my own life to protect our domestic animals (牲).
Using mnemonics to remember the meaning of Chinese characters like can have an enormous impact on how long to learn Mandarin it takes.