In the strict sense, hiking refers to short duration walks on relatively easy trails whereas trekking is considered to be a more demanding vigorous walking and climbing activity that could be taken up for multiple days. But in the modern age, both words are often used interchangeably. That's also why there is hardly any difference between trekking shoes vs hiking shoes.