In very simple terms, a VPN connects your PC, smartphone, tablet or any other internet enabled device to another computer (called a server) somewhere on the internet, and allows you to browse the internet using that computer’s internet connection.
So, if that server is in a different country, it will appear as if you are coming from that country, and you can potentially access things that you couldn’t normally.