The working principle of resonant cantilevers lies in their ability to oscillate at characteristic frequencies. When a force or mass is applied to the free end, the cantilever deflects, and this deflection alters its resonant frequency. By measuring changes in frequency, it is possible to detect and quantify minute forces or masses, making resonant cantilevers highly sensitive sensors.