Ulcerative colitis is not contagious. It is a chronic inflammatory bowel disease that affects the colon and rectum. The exact cause of ulcerative colitis is unknown, but it is believed to involve a combination of genetic, environmental, and immune factors. It is important to note that ulcerative colitis is not caused by bacteria or viruses and cannot be transmitted from person to person. It is a condition that requires medical management and treatment.