Operating system(s) is the second  layer before hardware of the four layers of computer systems as shown the figure below here

 Computer system