What does the word segregate mean?

Greetings!
What does the word segregate mean?
Segregate refers to the act or practice of segregating; a setting apart or separation of people or things from others or from the main body or group. The word "Segregate" is a bad connotation word because it directly means to separate something with the one who owns it or to separate a person with his/her bestfriend.