A specially shaped container for people who cannot leave their bed to defecate ('poop') or urinate ('pee') into. Bedpans are usually made of plastic or metal.
When Sally was in hospital with two broken legs, she had to stay in bed. When she wanted to go to the toilet, the nurse put a bedpan under her bottom. Sally peed and pooped into the bedpan.