The transfer of acyl groups to and from acyl-CoA molecules to form O-acylcarnitine, which can exchange across the mitochondrial inner membrane with unacylated carnitine.
Comment:
See also the cellular component term 'mitochondrial inner membrane ; GO:0005743'.