I NEED HELP ASAP :)

Which of the following is an ionic compound?

A-)CO
B-) O2
C-) LiBr
D-) NH3

THANKS IN ADVANCE! <3