What is the role of stack in a microprocessor?
It depends on the microprocessor. Generally its role is keeping local variables and functions' parameters.
And actually it's not in the microprocessor, it's in the central memory.