The 27-inch iMac (2015) has no optical drive — you'll need an external USB one

Apple dropped the optical drive entirely by the 2015 iMac generation. If you still need to read discs, your only option is a USB external drive.