Who decides who will be the next prime minister?

The candidates in the Tory leadership race have been confirmed, with seven still in the running to become the next prime minister.

But there are various hurdles still to come for the candidates, and who gets the final say? Jessica Parker explains.