Macs are different animals from Windows. You can run most any Windows <n> on any hardware (barring XP, 2000, etc).
Macs come with a version of OS pre-defined. My 2011 MBP came with 10.6.7. People upgrading from 10.5.x to 10.6.x can use a SL disk that installs 10.6.3 (10.6.3 is higher than 10.5.x), but my MBP cannot boot anything older than 10.6.7 so the 10.6.3 disk is useless.
A system that was pre-set to run 10.11.1 or 10.11.2 cannot natively run anything less than 10.11.<x>.
As dwb suggests, you could get lucky. A "new" system may be hardware-programmed to Yosemite originally but Apple put ElCapitan on it because EC had just come out. Then you could downgrade to Yosemite possibly.
<EDIT EDIT EDIT> BEFORE YOU TRY IT ... MAKE A BACKUP OF THE ELCAPITAN, I LIKE A CLONE, IN CASE THE YOSEMITE INSTALL FAILS!!!