Operant conditioning is a learning process where the consequences of a response influence its future occurrence, with reinforcement increasing behavior and punishment decreasing it. Skinner's experiments using a 'Skinner box' demonstrated both positive and negative reinforcement, where rats learned to press a lever for food or to avoid electric shocks. The findings highlight the role of environmental manipulation in predicting and controlling behavior.