DECT operates by acquiring two sets of images at different energy levels, typically low and high. This dual-energy approach allows for the analysis of tissue composition and the identification of specific substances based on their attenuation properties. The technique can distinguish between different materials more effectively than conventional CT, which is especially useful in identifying foreign bodies or toxins in the body.