An IDS detects any cyber-attack happening through network traffic by recognizing an attack pattern. An IPS goes a step further and helps to stop malicious traffic proactively. You need to determine the applicability of the IDS/IPS system as per your application's requirements. An IDS can be host-based or network-based.