Well, that's one of those catch-all terms.
A resource used by a task is just anything a task can use while running. A shared resource, you guessed it, is this anything that several tasks could be using instead of just one.
Examples are many. Memory, peripherals, CPU core...
Now before caring about how 'resources' are shared, you may want to start with knowing what tasks are, in what context...