M16 bolt carrier groups work in both M16s and AR 15s. In fact, an M16 or full auto BCG is the most common form of BCG on the market. First and foremost a full auto rated M16 bolt carrier group cannot make your gun full auto.
However, if you are one of the few who legally owns a full auto M16 or converted AR 15 then you must have a full auto BCG to utilize the full auto function.
@Blackvegetable