What causes blood clots?

Blood clots can be dangerous, especially if all or part of them break off and then travel through the bloodstream.