What is CMOS and what is it used for?

What is CMOS and what is it used for?