Is E. coli a good or bad bacteria?

The E-Coli bacteria, found in rotten meat, can kill people, so that aspect of it is bad. But there is small amounts that are always in your intestines (or one of those organs) that help our bodies out and are good for us, but if they get into other organs (like the stomach) they become very bad.