To identify the cations and anions present in an unknown solution, the following tests were carried out.

I. A flame test on the solid substance produces a brick red colour.

II. Nitric acid was added to a solution of the substance followed by a few drops of barium nitrate solution. A white precipitate was formed.

i. What is the cation present in the substance?

ii. What is the anion present in the substance?

iii. Give the formula of the substance present.