What is dp id and client id in demat account

What is the difference between DP ID and Client ID in Demat accounts?,