Why do you need a demat account

What investment activities require a demat account?,