secernment

noun

1.
the organic process of synthesizing and releasing some substance
2.
the cognitive process whereby two or more stimuli are distinguished