Functionally, by being the two biggest parties, either labour or the tories will usually get a majority of seats in the house of commons. Sometimes it doesn't happen like that, and nobody has a majority. This happened in 2010, which resolved by the tories forming a coalition government with the lib dems. Their guy was PM, the lib dems got a seat at the table, and it was awful. Sometimes they make simpler deals with other parties.