Notice that the particles shown here are all the same.
Each particle contains two different atoms coloured pale blue and green.
This substance is a compound.