IDS stands for Intrusion detection systems. These systems help detect attacks on systems and networks. IPS stands for Intrusion prevention systems (IPSs) and stop attacks in progress.
Network based IDSs/IPSs monitor activity on network segments. essentially, they sniff traffic as it flows over the network and alert a security administrator when something suspicious occurs.