An HPF is a filter that examines a region of an image and boosts the intensity of certain pixels based on the difference in the intensity of the surrounding pixels.
Take, for example, the following kernel:
[[ 0, -0.25, 0 ],[-0.25, 1, -0.25],[ 0, -0.25, 0 ]]