Here's why:
* Ca represents Calcium, which is one atom.
* S represents Sulfur, which is one atom.
Therefore, CaS contains one Calcium atom and one Sulfur atom, making a total of two atoms.