What is a pn junction?

The contact surface between the layers of p-type and n-type semiconductor pieces plated together so as to form a p-n junction is called the p-n junction.