Educational psychology focuses on understanding how people learn and retain information, addressing cognitive, social, and emotional aspects of learning. It aims to improve educational outcomes by studying various learning difficulties and developing effective teaching strategies.