TT Consultants Interview Question

How does an AC work?