Cognition in robotics refers to acquiring knowledge and understanding through thoughts, experiences, and senses. There are three main learning techniques in cognitive robotics: motor babbling, where robots correlate random movements with sensory feedback to learn patterns; imitation, where robots monitor and mimic the actions of other agents; and knowledge acquisition, a more complex approach that involves breaking sensory input into categories and using prediction systems like neural networks to learn.