We apply the concept of mass transportation to prove sharp versions of Sobolev and trace-Sobolev inequalities