How can we open demat account

Can anyone open a Demat account and what is the eligibility?,