Cancer can be caused by both environmental and genetic factors. Not smoking does not guarantee immunity to cancer.
What does the second sentence do?
a. It restates the idea found in the first
b. It states a contrast
c. It gives an effect
d. It analyzes the statement made in the first