Figure 1:
Energy band diagram for a metal-semiconductor junction.