How do I shutdown/restart in the Mac environment?

How do I shutdown/restart in the Mac environment?

Click the apple icon located to the left of the menu bar and select either shutdown/restart.