The push to exit button is wired to the access control system that controls the door's locking mechanism. Anyone that needs to exit the building or pass through the door can simply push the button.
When pushed, it momentarily releases the fail-secure or fail-safe lock of the door. The exit button releases power to the magnetic lock. With this, the door automatically releases and allows free exit.