Racism, homophobia, and xenophobia are forms of discrimination based on factors like race, sexual orientation, and place of origin. Racism involves hatred or belief of superiority over others due to skin color, language, customs or other real or perceived differences. It has influenced wars, slavery, and legal codes. Homophobia includes negative attitudes towards homosexuality or people who are lesbian, gay, bisexual, or transgender. Xenophobia is a dislike of things perceived as strange or foreign, and can manifest as a fear of losing identity or desire to eliminate outside presence. There are no easy solutions to these problems, but achieving equality and acceptance of all people regardless of attributes can help.