is the law of conservation of mass always valid what are the limitations?
No, the law is not valid always. First of all, the law of conservation of mass is valid for closed and isolated system only because, in an open system some of the mass can be converted into energy and escapes the system and then the resultant will be different and the rule will be violated.