In fs-LIBS, a femtosecond laser is focused onto a sample, rapidly heating and ionizing a small volume of the material to form a plasma. The plasma expands and cools, emitting light that is characteristic of the elements present in the ablated material. This emitted light is collected and analyzed using a spectrometer. The spectral lines are then matched to known elemental signatures to identify and quantify the elements in the sample.