Explain how n type is formed and p type?

Explain how n type is formed and p type?

quanswer.com