Those are referring to IDE channels. Most motherboards will have a primary and a secondary IDE channel. On each channel there is a means to connect up to two IDE devices. If you have two devices on one channel, one will have to be a master and the other a slave.
FYI, IDE devices usually include Hard Drives and CD/DVD Drives.