Yes, rocks do contain atoms. Atoms are the basic building blocks of matter, and all substances, including rocks, are composed of atoms. Rocks are typically composed of various minerals, and minerals are made up of different combinations of atoms. These atoms can include elements such as oxygen, silicon, aluminum, iron, calcium, and many others, depending on the specific composition of the rock. So, whether it's a sedimentary, igneous, or metamorphic rock, all rocks are made up of atoms arranged in different patterns and structures.