The meaning of this sentence is that truth exists objectively and will not change with people's subjective consciousness. Only through the test of practice can we prove whether some knowledge has truth.
Practice is the only criterion to test the truth, because practice is an activity from subjective to objective, which can be directly linked to objective, and the objective result of practice can be used to test whether understanding conforms to objective reality.