"er" or sometimes "e" indicates that the noun is plural, that there is more than one, while "en" means "the", indicating a singular, specific noun. when you put the two together to make "erne," this means you're identifying a specific plural noun.
example: building = bygning. buildings = bygninger. the building = bygningen. bygningerne = the buildings.