So,
Dry ice is a compound consisting of one carbon dioxide molecule chemically bonded to two molecules of oxygen. This compound is the solid form of carbon dioxid.
This is a photo of this compound:
It is a compound since it is formed by more than one element. (CO2)