Packet sniffing is used within a network in order to capture and register data flows. It allows you to discern each individual packet and analyze its content based on predefined parameters. However, it requires a broader knowledge of networks and their inner functions, in order to be able to recognize the relevance of the data being monitored.