Tata Power interview question

How synchronous machine works ?