What material is used to apply to the glass and sash to provide a seal?

What material is used to apply to the glass and sash to provide a seal?