Lipid biochemistry

What is the immediate chemical purpose of forming a fatty acyl-CoA thioester?