In Newton's 2nd law, written in terms of force, mass and acceleration, m stands for the mass in the original Newton's work, i.e. the quantity of the substance which makes up a material body.
Have a great day/ night hope this helped out <33