Hostels often are set up like dormitories with several travelers or guest staying in one room. There may be up to 8-10 people assigned beds in each room with some hostels offering male and female rooms while others are co-ed. If you have a preference for an all male or all female room be sure to ask at booking if this is an option.
If you are looking for a luxury accommodation, a hostel is not what you want. If you want a practical, basic room and sleeping facility, a hostel is often the perfect option. Hostels are considerable cheaper than a hotel or motel due to the different arrangements.