What is the purpose of the filter in the ridge vent?

It's a secondary level of defense against possible weather entry.

Air Vent's internal weather filter is designed to be a secondary layer of defense against weather, dust and insect infiltration in the attic.