B.F. Skinner performed stimulus-response experiments with pigeons where he taught them behaviors through operant conditioning by rewarding them when they performed the desired action. Operant conditioning is a form of learning where behaviors are shaped through reinforcement of stimulus-response patterns. Skinner argued that both positive rewards and negative responses should be used to encourage desired behaviors and discourage undesired ones. His work formed the basis for behavior modification techniques and influenced how many teachers apply principles of reinforcement and punishment in educational settings.