Kaposi's sarcoma is a rare type of cancer caused by a virus. It can affect the skin and internal organs. It's mainly seen in people with a poorly controlled or severe HIV infection. It can also affect some people who have a weakened immune system for another reason, as well as people who have a genetic vulnerability to the virus.