The Electronic Communications Privacy Act (ECPA) is concerned with
real-time monitoring
stored information
regulation of conduct between different entities
The internet became a playground for peoples lives. And as soon as that happened, crime also followed.
For all those business that happen online, records are kept and the ECPA regulates how and when government can obtain those records.