Is mg/L the Same as ppm?

Clarify the confusing relationship between mg/L and ppm. The equivalence is not universal; it critically depends on the solution's density and concentration.