Mac machine does not have an external Eject button. You can eject a CD or DVD by using the Eject button available on the top-right corner of your keyboard.
Alternatively, you can drag a CD or DVD to the trash. OR keep pressing F12 button until CD or DVD is ejected.