People are able to accurately perceive aspects of the people they meet and the environments they interact with well enough to make adequate judgments that allow them to obtain their goals. Perceptions are reduced to their essential parts to create a basic cognitive structure for future use and stereotypes are just more sophisticated structures based on a socially constructed perception. Much of social cognition occurs automatically, but people control the basis of perception by determining what deserves attention in relation to their goals.