What is rta and demat

How does the role of RTA impact demat accounts?,