Shutdown or restart

Is there away to shutdown Mac or restart Mac ? If so , how/

put your cursor to the top of the screen, then press the apple icon and press restart or shutdown.