Another way to say "washing your hands is for removing dirt" is "Removing dirt is one of the results of washing your hands."