Cognizant interview question

difference between hardware vs software?