This all depends on the type of ticket you purchase and its specific rules. 

Some airlines (not just low-cost carriers) sell SEAT ONLY tickets so watch out!