state of internal activity of an organism that is a necessary condition for a given stimulus to elicit a class of response