Some useful questions and answers in MSE:

Correspondence between divisors and line bundles