What is the procedure of buying and selling shares through a Demat account?

What is the procedure of buying and selling shares through a Demat account?