Two matrices are said to be (row) equivalent if one matrix may be transformed into the other one by a sequence of elementary operations

We have said that two systems of equations are equivalent if they have the same set of solutions, and that two matrices are (row) equivalent if they may be connected through a sequence of elementary operations. These two concepts seem to be related - to what extent?