Is CO an element or compound?

Is CO an element or compound?