What is the main constituent of a Pearl?

Calcium carbonate only

Calcium oxide and calcium sulphate

Calcium sulphate only

Calcium carbonate and magnesium carbonate