Windshield sealing? lock strip

Pictures are perfect. Thanks a bunch for clarifying. Besides its obvious name, what is the purpose of that strip? I can understand some extra pressure being applied to where it seats against the body and glass... Is that it?