 Metal caps on the window top and on sashes redirect rain to drip off instead of infiltrating.Foam or gasket weatherstripping can be applied to the sides and sashes.Weatherstripping is also used on boats, to seal passenger and cargo areas from the elements.