Doping is a technical term used for impurity incorporation up to a certain concentration till the band gap of the host material does not change. If impurity concentration is higher than this, band gap will change then we call it alloy formation. Composite material may not have one band gap if alloy formation does not take place.