Genpact Interview Question

ServiceNow Questions: What is Transformation script? Can UI policies run before client script if i give higher order to UI policies?