New inequalities for the general case of convex functions defined on linear spaces which improve the famous Jensen's inequality are established. Particular instances in the case of normed spaces and for complex and real n-tuples are given. Refinements of Shannon's inequality and the positivity of Kullback-Leibler divergence are obtained.