A factor is something that has an effect on the way another thing happens.
Smoking is the main factor that causes lung cancer.
Example picture