Sarcoidosis is not a form of cancer. It usually happens due to a genetic predisposition, which may be triggered by bacteria, viruses, dust, or chemicals