DVD drives, and microSD cards to your Mac as well. Ejecting media is quite similar irrespective of the operating system. You find the drive, choose "eject", and then physically disconnect the device.