This is something I never understood.
Let $A$ denote a set and let $2$ denote the 2-element set $\lbrace 0,1\rbrace$. Consider two (parallel) functions $f,g:A\to 2$. They correspond to subsets of $A$, and hence they form elements of the Boolean algebra $\mathcal{P}(A)$. Now $\mathcal{P}(A)$ can be viewed as a category: for any two objects $X,Y\in\mathcal{P}(A)$, there exists a unique arrow $X\to Y$ whenever $X$ is a subset of $Y$.
My question is: Just by having the set $A$ and the two functions $f$ and $g$, what needs to be satisfied by them, so that we get an arrow in the category $\mathcal{P}(A)$ between the objects (subsets) corresponding to $f$ and $g$?