What is the difference between Ex vivo and In vitro?

We know the terms Ex vivo and In vitro are very close but they are not same.. non of the articles gives satisfactory information in differentiating these terms. They say Ex vivo is growing cells/tissues out side the living system..still it is not same as in vitro. What makes these systems separate from each other.