In North Carolina, DWI means driving while impaired. The offense is defined in G.S. 20-138.1. A person commits it by driving any vehicle on a highway, a street or another public vehicular area while under the influence of an impairing substance, or after drinking enough alcohol to have an alcohol concentration of 0.08 or more at any relevant time after driving.
The same statute also covers driving with any amount of a Schedule I controlled substance, or its metabolites, in the blood or urine. So a DWI can involve alcohol, drugs, or both. Being legally allowed to use alcohol or a medication is not, by itself, a defense under the statute.
Ordinary impaired driving is a misdemeanor. Habitual impaired driving is a separate felony under G.S. 20-138.5. It applies only when a person has three or more impaired-driving convictions within 10 years of the new offense.
A charge is an accusation, not a conviction. Being charged with DWI does not mean the person has been found guilty, and sentencing only comes up if there is a conviction.
Bail is a separate question. After an arrest, a judicial official, usually a magistrate at the initial appearance, sets the conditions of pretrial release under G.S. 15A-534. Those conditions may not involve money at all. A professional bail bond only matters when the release order requires a secured appearance bond that a surety can satisfy.