What is the use of map_location in torch.load()?

while loading existing weights, we use torch.load and it have an parameter named map_location. What does this parameter does?
i’m new to pytorch so pardon if this is new newbie question.

Please go through this link https://pytorch.org/docs/master/generated/torch.load.html and see if the examples are helpful.