People think that writing for television and film is the same but on the contrary both the industries are different. The main elements of the television industry are networks, studios and production companies. Writers are basically hired by a studio to write for a particular network or channel. They even have the rights to sell the material elsewhere. This material is then used by the production companies to bring the script into action.
The writers face two kinds of deals, a development deal and overall deal. Development deal requires the writer to write for only a single project. Only a single story is being developed for which the writer gets paid from $30,000 - $50,000. Overall deal requires the writer to write on a long term basis and the income is more than development deal.
After the initial filtering, about 4-10 writers are selected and they are placed in hierarchy. Showrunner is at the top and is the program creator. They are the ones which have maximum experience in writing and receive an Executive Producer status and earn up to a million. Later in the hierarchy of writing team are co-executive producers, supervising producer, producer, co-producer, and executive story editor and at the end is the staff writer, also known as baby writers as they are the starters.