Why can a semiconductor made of the same material have different types of conductivity?

A semiconductor made of the same material can have a different type of conductivity, because the type of conductivity depends not on the material of the conductor, but on the concentration of holes and electrons.

Remember: The process of learning a person lasts a lifetime. The value of the same knowledge for different people may be different, it is determined by their individual characteristics and needs. Therefore, knowledge is always needed at any age and position.