A DAC works by placing a sample between the tips of two diamond anvils. When force is applied to the anvils, the sample is subjected to extreme pressure. The transparent nature of diamonds allows researchers to use spectroscopic techniques to study the sample in situ. Additionally, various nanomaterials can be investigated to understand their behavior under high-pressure conditions.