A primer is a preparatory coating material applied to a surface before painting, sealing, or finishing. It improves adhesion, provides a smooth base, helps protect the surface, and can prevent issues such as rust, stains, moisture penetration, or uneven paint absorption.