Lodging or holiday accommodation is a type of accommodation. People who travel and stay away from home for more than a day need lodging mainly for sleeping. Other purposes are safety, shelter from cold and rain, and to have a place to store luggage and being able to take a shower.
They do that in a hotel, hostel or hostal, a private home (commercially, i.e. a bed and breakfast or guest house place), in a tent, caravan/camper (often on a campsite). In addition there are makeshift solutions, and if you go via toilet to the Mushroom Kingdom, you may get lodged in pipe and remain there until pressure of farts can save you.