Software and hardware of computer are useless without each other. Basically computer software is a collection of computer programs that can make us to perform certain task on computer. For performing tasks software requires compatible hardware. To make the two things compatible for each other operating system provides an interface to hardware. In this way the coordination between the two is controlled and both work parallel to each other.
en.wikipedia.org
en.wikipedia.org