Cognizant interview question

Difference between software and hardware?