I had a sac where we had 25mL apple solution that had a sodium ppm of 100.
Then to find the mass of sodium u had to do 100 milligram / Litre times 25mL.
Im not sure whether you can do that or not because we know nothing about the density of the apple solution??
Okay, generally ppm and ppb are gram per million grams and gram per billion grams respectively. However, you will often see concentration notions such as (%w/v) which is percentage of mass of solute per volume of solvent. If you are given a density, eg for my last sac we were given density of ethanol = 0.785 g mL-1, you use the density to find the volume / mass required for the units of your concentration. However, as we generally use
water as a solvent with density of 1 g/ml, we can safely say that:
ppm = grams per 1 million grams = grams per 1 million millilitres = milligrams per 1 litre
Only if you used a different solvent, say ethanol, then you cannot make the above statement. For ethanol you would go:
ppm = grams per 1 million grams = grams per 1.27 million millilitres = milligrams per 1.27 litres
For your question, I would actually say, "mass of sodium u had to do 100 milligram / 1000 mL times 25mL." Remember to keep your units consistent

I hope this makes sense to you, and good luck with your studies!