how is a bill killed or not passed?

A bill can be killed if it never comes out of committee. It can also be killed if a majority of the legislators vote against it. A president can also kill a bill with his veto.