What is the confederate flag?

What exactly does the confederate flag symbolise and why is it 'disliked' quite a bit. I know it was apparently used in the American Civil war but other than that I'm not sure.
4 answers 4