What is the use of build () and perform () in actions?

What is the use of build () and perform () in actions?

The build() function in the Actions class is used to create a chain of actions or operations. This method in the Actions Class is used to run a chain of actions that were created using the Action construct method.