The difference between them lies in different estimation objects, different analysis methods and different preconditions. For example, validity can only be based on reliability. If there is no validity, the result with higher reliability is meaningless. This is the relationship between the two.
Its reliability means that the same person takes the same test paper many times, assuming that this person's score has not changed, there will not be much difference, while validity means to what extent this test paper can measure your intelligence level.
Reliability refers to its credibility, that is, to what extent it is correct, and effectiveness refers to how effectively it can express what it needs to express. Take a standardized test paper for measuring intelligence and memory as an example.