Anyone know what IDS's really do ?

I'd be really greatful for any information about how they work and why they are are important (if they are). Any advise for good window's IDS's would be cool too !

Thanks in advance
Katez