You pat something when you touch it with the palm of your
hand. People usually pat
dogs and
cats on the head, or give each other a pat on the
back for a job well done.
A very similar word to pat is
stroke, where you run your hand along something slowly as you are patting it.