You say cacao, I say cocoa

Is “cacao” or “cocoa” the correct term when you are talking chocolate? Turns out, you’ll probably end up using both.