1 INTRODUCTION  
2 DATA  
2.1 The CANDELS multi-wavelength survey  
2.2 Sample selection and data filtering  
2.3 The Rainbow database  
3 METHODOLOGY  
3.1 Galaxy emissions in the mid- and far-infrared  
3.2 Extragalactic background light model formalism  
3.3 Completeness corrections  
4 RESULTS AND DISCUSSION  
4.1 Luminosity densities and cosmic star formation history  
4.2 Spectral energy distribution of the EBL  
5 SUMMARY