Roman numerals are used to indicate the oxidation state of metals which have more than one possible oxidation state.
Here's an example. Copper can form either
So there are actually two different compounds that have the name copper chloride. We need the roman numeral to know which is which. Remember that halogens form ions with a -1 charge. So a chloride ion is
This video includes some more examples...
Hope this helps!