The nondelegation doctrine is a legal principle that prohibits Congress from transferring its legislative authority to other entities, including administrative agencies. This doctrine ensures that important legislative decisions are made by elected representatives and not delegated to unelected officials, maintaining a system of checks and balances within the government.