What do you mean by demat account

What does a demat account allow you to do in stock markets?