Our scales use the Bioelectrical impedance analysis (BIA) method. It sends a tiny current allowing us to measure your impedance which can then be used to calculate an estimate of total body water (TBW). Total body water (TBW) can be used to estimate your lean body mass. By subtracting your lean mass from your body weight it can also estimate your body fat.
https://support.withings.com/hc/en-us/sections/6212651181969-Smart-Body-Analyzer
https://support.withings.com/hc/en-us/sections/200608178-FAQ