OTG Management interview question

Describe the function ofMutex and Semaphores