The document discusses ternary compounds, which contain three different elements. It provides examples of writing chemical formulas for compounds formed by reactions between cations and anions, such as sodium and hydroxide forming sodium hydroxide. The document also discusses naming conventions for binary and ternary compounds, including using Roman numerals in parentheses to indicate an ion's charge for elements that can have more than one oxidation number.