If one finds a positive correlation between degree of coffee drinking and the likelihood of heart attacks. One can conclude that

Coffee drinking causes heart attack

An active life style of certain people causes heart attack

None of these

Individuals prone to heart attacks are predisposed to drink a lot of coffee