In the proof of Zorn's lemma by Jonathan Lewin published in AMM in 1991, the following reasoning appears:
Suppose every chain of a set $\mathcal{P}$ has a strict upper bound in $\mathcal{P}$(an element strictly greater than all the elements ).Then by Axiom of choice, there exists a function $f$ mapping every chain in $\mathcal{P}$ to its strict upper bound.
I am not sure how is this derived directly from Axiom of Choice, which only states there exists some function mapping every chain to its element. Nothing is said about choosing a particular element, and let alone the fact the upper bound is not even an element of the set. It might be a simple consequence of Axiom of Choice, but this is a new field for me so I would appreciate a detailed explanation.
Assume that every chain has a strict upper bound.