How does User Account Control (UAC) work

How does User Account Control (UAC) work