How does it affect learning when you feel happy or sad? Examine the role of emotions in learning, discovering that some moods are better for some tasks. For example, mild anxiety in studying for a test might actually enhance performance by focusing attention.