Operant conditioning is a learning method that associates behavior with rewards and punishments, as demonstrated by B.F. Skinner's experiments using the operant conditioning chamber, or Skinner box. It comprises components such as positive reinforcement, negative reinforcement, positive punishment, and negative punishment, each influencing behavior in different ways. Examples illustrate how behaviors can be encouraged or discouraged through these methods in everyday situations.