The stack is used to store local variables, method parameters, etc.