The Visa Waiver Program is an agreement between countries that does not require a visa to enter the United States but must have electronic machine-readable passports.
Most commonly, visa waiver countries have a good relationship with the United States, the economy is fine overseas, and they are not worried that people from those countries are going to come in and overstay.
Within the Visa Waiver Program, you can stay in the United States for 90 days. If you stay longer, you may no longer use the program.
If you do something wrong in the United States, like get arrested, Immigration doesn’t have then authority to put you into removal proceedings, or set a bond on you. They would automatically have to detain you and remove you from the United States if they come into contact with you.