Pirate captains and higher-ranking members had private sleeping quarters, while common sailors had to sleep in one room. Some of them slept on hammocks. Others slept on the floor. It was easier for them to sleep on hammocks because they swayed and rocked with the ship's movements.