What do you mean by demat

What is the definition of a demat account and how is it used in trading?