In p-n junction definition we have studied that when we place p-type and n-type materials in contact with each other then a p-n junction is formed. But my question to all of you is that how can we place two different materials like P-type and n-type together in contact with each other?