Get the category of post from which category page it have been clicked

Get the category of post from which category page it have been clicked

tech