Question: why cmos is preferred over bjt?
Answer: CMOS gates dissipate power only while switching and NOT while they are "open"(transistor off) or "close"(transistor on). Hence, reduced power consumption. The dimensions of MOS devices can be scaled down more easily and have lesser fabrication cost compared to BJT.