UVB can affect the immune system resulting in decreased resistance to infections and tumors