On EVM chains, calldata specifies which function is called and with which parameters. A UI can say swap while the payload authorizes a different contract or action. Transaction security reconstructs the method and parameters from the payload rather than trusting the page label.
This concept matters because Decode the selector and parameters.
Calldata is the executable request; the frontend description is merely a claim about that request.