A Schottky barrier forms at the metal-semiconductor interface when they come into contact. It is a potential energy barrier for electrons, which affects the movement of charge carriers. This barrier is essential in determining the electrical properties of the contact, such as rectification and current flow.