People who stay in a hotel register their names and addresses when they arrive. The hotel can work out how much the people must pay for their stay. The local police may also keep a copy of these names to help fight crime.