The weighing machine measures weight of the body or mass of the body.
Technically speaking, weighing machines should measure the normal/Tension force acting on it, which is the force of pulling force due to gravity between you and the Earth.
Weighing machine measures kg force.
At zero gravity places we can get our mass by weighting machine. Also weight is variable as g is variable at different planets, but mass always is constant. Mass of the body is a large body of matter with no definite shape while weight of the object is basically taken as force on the object due to gravity.