When mapping a route what is the difference between a route and a resource

I see when mapping that we can set this.route or this.resource.

What is the general difference between the two - when would I use one or the other. I thought it was to do with collections of data.