In the United States, Congress can override a presidential veto by having a two-thirds majority vote in both the House of Representatives and Senate, thus enacting the bill into law despite the president's veto. However, a veto may not be overridden if it is a pocket veto, a veto in which the president simply ignores a bill between congressional sessions. The veto override is an example of checks and balances, the process in which various branches of the U.S. government can limit each others' power.
Many states of the US have similar regulations, i.e. a state governor can veto (refuse to sign on) a bill passed by the legislature, and the legislature can override the veto. Most states require a two-thirds majority vote to override.