A resource may have two significations that depends of the context:
Resources are not (usually) code. They are not compiled, but are items meant to be:
See the main page on this subject: A web resource is the data of the web
See