Operant conditioning is a type of learning where behaviors are strengthened through reinforcement or weakened through punishment. It is based on the behaviorist perspective that emphasizes observable behaviors and the environment's role in influencing behavior. Reinforcement increases the likelihood a behavior will be repeated by following it with a stimulus. Punishment decreases the likelihood by introducing an aversive stimulus or withdrawing a positive one after an action.