Let $(M, \mu, \eta)$ be a monoid object in a monoidal category $(C, \otimes, I)$, with multiplication $\mu:M\otimes M\rightarrow M$ and unit morphism $\eta:I\rightarrow M$. I'm trying to understand what $\eta$ does. It'd help if someone could illustrate through specific examples.
If $C= $Vect$_k$, then a monoid object would be a $k$-algebra $M$. Now what is the map $\eta:k\rightarrow M$? Where does it map each element of $k$ to?
Likewise, if $C$ is the category of abelian groups with tensor product, then a monoidal object is a ring $M$. What would be the map $\eta:\mathbb{Z}\rightarrow M$? Is it just any map that embeds a copy of $\eta$ in $M$? Or does it not even have to be injective? I'd appreciate some concrete example. Thanks in advance.
As the name suggests, the unit map $\eta$ picks out the unit of the monoid $M$, so in the first example the map $k\to M$ is determined by sending $1\in k$ to the multiplicative unit of the $k$-algebra $M$, and likewise for the second example.