Cognizant interview question

difference between xpath and css