Another way to say "a yard is used for measuring distance" is "A yard is a measure of distance."