The person is preparing green beans for cooking by taking the tail off them and leaving the tops on.