A bedpan is a portable toilet used by patients who are unable to get out of bed to use a restroom. It is a crucial device in the field of nursing and patient care, ensuring that patients can maintain their dignity and hygiene even when they are immobile.