Collecting communication data involves using various devices like ATM terminals, phones, keyboards, cameras, and smartphones. The data is then processed by encoding it for transmission and decoding it at the other end. There are four types of encoding and decoding: analog to analog, digital to digital, analog to digital, and digital to analog. Client-server architecture describes the relationship between client software that requests information and server software that responds with the requested information.