Here $R$ is commutative.
$\Rightarrow$ is fairly easy to prove as every Ideal containing a unit must be the entire Ring so it cannot be maximal. But I'm having some trouble with $\Leftarrow$, this is what I got so far:
We want to get a contradiction, so assume $x$ is not a unit so $xR$ is a proper Ideal, let $A$ be the set of proper Ideals containing $x$, $A$ is not empty and partially ordered by Inclusion. I want to use Zorn's lemma here but I cant figure out what the supremum of a chain in $A$ is, I know that the union of the Ideals in the chain is an Ideal containing $x$ but I cant figure out why it must be a proper Ideal i.e. not $R$.