Although vector fields (which are sections of the tangent bundle) form Lie algebras, the bundle itself, as far as I know, almost never carries Lie algebra structure; that is, in general, I believe, there is no map $[\_,\_]:TX\times_XTX\to TX$ over $TX\to X$ that would induce brackets on vector fields.
Although I have heard that this non-existence is the reason why people study various kinds of algebroids, I must confess I have no idea why exactly such a bracket does not exist in general. It must have to do with integrability somehow but I don't know how. I only vaguely remember that some sort of algebroids produces a cohomology class that can be viewed as an obstruction to something I do not really remember.
Does all this make sense at all? Can anyone point to a reference where such obstructions are described in detail?